If you execute the following code, what will it display if the user enters 5? 15? 30? −1?
int number;
cout << "Enter a number: ";
cin >> number;
if (number > 0)
{ cout << "Zero ";
if (number > 10)
{ cout << "Ten ";
if (number > 20)
{ cout << "Twenty ";
}
}
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.