What is the output of the following program?
#include
using namespace std;
void showDouble(int value); // Function prototype
int main()
{
int num;
for (num = 0; num < 10; num++)
showDouble(num);
return 0;
}
// Definition of function showDouble
void showDouble(int value)
{
cout << value << " " << (value * 2) << endl;
}
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.