How many times is the inner loop body executed in the following nested loop?
for (int x =1; x <= 10; x++)
for (int y = 1; y <= 10; y++)
for (int z = 1; z <= 10; z++)
cout << x +y+z;

You can't be serious. You expect us to help you cheat in an exam? Forget it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.