Question: [5.2.c] What is the missing code in the following program that reads data from the user? #include using namespace std; int main() { } int

[5.2.c] What is the missing code in the following program that reads data from the user? #include using namespace std; int main() { } int num, sum = 0; cout << "Enter an integer: "; cin >> num; while (FILL_IN_THE_MISSING_CODE) { sum += num; cout << "Enter an integer (the input ends, if 999 is entered): "; cin >> num; cout << "The sum of the numbers is " << sum << endl; return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!