Question 1 (10 marks)
Design a program that asks for 4 test scores. The program should calculate the average test score and display it.
You need to develop an 1.1) IPO chart (3 marks)
1.2) Pseudo-code (5 marks)
1.3) 2 Sets of test data (2 marks)
Question 2 (20 marks)
A long distance carrier charges the following rates for telephone calls:
Starting time of call
Rates per min ($)
Design a program that asks for the starting time and the number of minutes of the call and displays the charges. The program asks for the time to be entered as a floating point number in the form HH:MM. For example, 07:00 hours will be entered as 07.00, and 16:28 hours will be entered as 16.28.
Input validation: The program should not accept times that are greater than 23:59.Also, no number whose last two digits are greater than 59 should be accepted.
You need to develop 2.1) IPO chart (3 marks)
2.2) Pseudo code (12 marks)
2.3) 5 sets of test data (5 marks)