Problem1. You are required to write a program to hand out change for automatic cash register. The user will input the total amount due and the amount tendered by the customer. The program will return the amount to be returned to the customer as well as the coins needed. You will require two functions, one function calculate_change and another function dispense_change. Write function prototypes for these 2 functions.
Problem2. Write the function calculate_change in pseudo-code or any other programming language such as C/C++.
Problem3. Write the function dispense_change in pseudo-code or any other programming language such as C/C++. Assume that there are only Rs1, Rs5 and Rs10 coins in use in the cash register.
Problem4. Write a function Max ( in pseudo-code or any other programming language such as C/C++) that takes as arguments an array A of 30 integers and its size and returns as result the largest element in the array.