C++ Taskbook Level 1.10
Задание 1
Find the sum of all even integers between 1 and 100.
Задание 2
Determine how many hours there are in a year.
Задание 3
Given a number:
cpp1234567
Turn it over:
cpp7654321
Задание 4
Given some integer:
cppint num = 12;
Print all divisors of this number to the console.
Задание 5
Given a number:
cppfloat num = 1000;
Divide it by 2 as many times as necessary until the result is less than 10. How many iterations does this require?
Задание 6
Given a number that is a power of 10:
cppint num = 10000;
Find out to what power of ten was raised to obtain the given number.