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 num,

[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: "; cinnum; while (FILL IN THE MISSING CODE) { F1 Onum != 999 cout << "The sum of the numbers is " << sum << endl; return 0; num==999 num= 999 num> 999 sum += num; cout << "Enter an integer (the input ends, if 999 is entered): "; cinnum; F2 F3 F4 F5 F6 DELL F7 F8 F9 F10 F11

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!