Suppose that the input is 6 -2 4 9 -5 8. What is the output of the following code? (4)
int num, count, temp = 1;
cin >> num;
for (count = 1; count <= 4;=”” count++)=””>
temp = temp + temp * (num + count);
cin >> num; cout
“temp=””>
>
Suppose that the input is 6 -2 4 9 -5 8. What is the output of the following code? (4)
int num, count, temp = 1;
cin >> num;
for (count = 1; count <= 4;=”” count++)=””>
temp = temp + temp * (num + count);
cin >> num; cout
“temp=””>
>
For faster services, inquiry about new assignments submission or follow ups on your assignments please text us/call us on +1 (251) 265-5102