Question: 5 . ANN Consultancy provides various short courses in IT . Below are some of the short courses avallable and the fees shown in Table

5. ANN Consultancy provides various short courses in IT. Below are some of the short courses avallable and the fees shown in Table 1.0. Write a complete C++ program based on the following requirements: - Function calcFee() receives the course code and number of persons recistering for the course. It will calculate and return the total fees. - Function getDisc() receives the total fees and the number of persons, then calculates and returns the total fees after discount. Discount 10\% is given if the number of persons registering for the course is more than 30 persons. - Function main() prompts the user to input the course code and number of persons. - Finally, calculate the fees each person needs to pay if a discount is given. - The program will be repeated until the user enter N' to stop. Example: a receipt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!