Create a program for the sales manager at Computer Haven, a small business that offers motivational seminar to local companies. Figure below shows the charge for attending aseminar. Notice that the...


Create a program for the sales manager at Computer Haven, a small business that offers motivational seminar to local companies. Figure below shows the charge for attending aseminar. Notice that the charge per person depends on the number of people the companyregisters. For example, the cost for four registrants is RM400; the cost for two registrantsis RM300. The program should allow the sales manager to enter the number of registrantsfor as many companies as needed. When the sales manager has finished entering the data,the program should calculate and display the total number of people registered, the totalcharge for those registrants, and the average charge per registrant. For example, if onecompany registers four people and another company registers two people, the total numberof people registered is six, the total charge is RM700, and the average charge per registrantis RM116.67.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here