What is the output of the following code?
const int SIZE 5;
int count;
int time[SIZE] = {1, 2, 3, 4, 5},
speed[SIZE] = {18, 4, 27, 52, 100},
dist[SIZE];
for (count = 0; count < SIZE; count++)
dist[count] = time[count] * speed[count];
for (count = 0; count < SIZE; count++)
{
cout << time[count] << " ";
cout << speed[count] << " ";
cout << dist[count] << 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.