Problem1. You are required to prepare 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 find out_change and another function dispense_change. prepare function prototypes for these 2 functions.
Problem2. prepare the function find out_change in pseudo-code or any other programming language such as C/C++.
Problem3. prepare 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. prepare 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.