Task 1.
Enter any real number. Program returns integer and fractional parts of that number.
Example:
In [1]: 7.89
Out [1]: 7 0.89
Task 2.
Enter any integer number. Program returns last numeral of that number.
Example:
In [1]: 987
Out [1]: 7
Task 3.
Enter two numbers:
h - hour (0 - 23)
delta - some addition (>0)
Program calculates how many hours will be after (h + delta).
If h == 22 and delta == 1, result will be equal 23.
In case, delta == 3, result will be equal 1.
Example:
In [1]: 20
In [2]: 10
Out [1]: 6
Task 4.
Enter two numbers:
Price of order % 100 == 0
Cash % 100 == 0
Program calculates how many banknotes of 1000, 500 and 50 denomination (that is the order), will be in charge
Example:
In [1]: 3200
In [2]: 5000
Out [1]: 1 1 6