C++ Taskbook Level 1.8
Задание 1
Print to the console all integers from 100 to 1.
Задание 2
Given a string:
cpp"abcde"
Loop through and output to the console one by one all characters from the end of the line.
Задание 3
Given an integer containing the number of bytes:
cppint b = 7435421243;
Convert this value to gigabytes, megabytes, and kilobytes.
Задание 4
Given a number:
cpp1234567
Find the sum of the digits of this number.
Задание 5
Given a number:
cppfloat num = 12.3;
Find 10 percent of this number.