A) // This code should display the sum of two numbers.
int choice, num1, num2;
do
{
cout <>
cin >> num1;
cin >> num2;
cout <><>
cin >> choice;
} while (choice = 1)
B) // This code should display the sum of the numbers 1 - 100.
int count = 1, total;
while (count
total += count;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here