10 of 100 menu

C++ Taskbook Level 1.10

Find the sum of all even integers between 1 and 100.

Determine how many hours there are in a year.

Given a number:

1234567

Turn it over:

7654321

Given some integer:

int num = 12;

Print all divisors of this number to the console.

Given a number:

float num = 1000;

Divide it by 2 as many times as necessary until the result is less than 10. How many iterations does this require?

Given a number that is a power of 10:

int num = 10000;

Find out to what power of ten was raised to obtain the given number.

enru