Suppose that the input is0 5 6 4 9 8 –1. What is the output of the following code? (2, 3) Submit your answer to dropbox.
int num=0;
int sum;
cin>>sum;
while(num !=-1)
{
cin>>num;
sum=sum + 2*static_cast(sqrt(num));}cout<><><>
}
cout<><><>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here