Write function headers for the following functions (and indicate whether the function returns a value):
■ Computing a sales commission, given the sales amount and the commission rate.
■ Printing the calendar for a month, given the month and year.
■ Computing a square root.
■ Testing whether a number is even, and returning true if it is.
■ Printing a message a specified number of times.
■ Computing the monthly payment, given the loan amount, number of years, and
annual interest rate.
■ Finding the corresponding uppercase letter, given a lowercase letter.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.