// sample C++ program
#include <iostream>
#include <conio.h>

using namespace std;
int main() 
{
    int sentinel, counter, num1, num2, total;
	
	counter = 0;
	total = 0;
	sentinel = 1;
    
	while (sentinel == 1) {
		
		cout << "Enter number1: ";
		cin >> num1;
		
		cout << "Enter number2: ";
		cin >> num2;
		
		total = num1 + num2;
		cout << "Total: " << total << endl;
		
		total = 0;
		
		cout << "Do you want to continue? enter 1 to continue or other number to stop: ";
		cin >> sentinel;
	}
		
    getche();
    return 0;
}
