Write a program that given two numbers a and b, displays the result of an integer division and the remainder, in the given format.
The program receives two numbers as input: a and b.
You need to output two lines:
in the first line - the result of integer division a by b.
in the second line - the remainder of dividing a by b.
Example.
Input |
Output |
15
6 |
15/6=2
15%6=3 |