Write program segments which accomplish each of the following:
a. Compute the integer part of quotient when integer a is divided by integer b.
b. Compute integer remainder when integer a is divided by integer b.
c. Use program pieces developed in (a) and (b) to write function which inputs an integer and prints it as series of digits, each pair of which is separated by two spaces. For instance, integer 4562 must print as follows: 4 5 6 2