Question: Please I need someone to solve C programming ASAP Write a C program that prompts for and reads the number of courses a student takes

Please I need someone to solve C programming ASAP
Please I need someone to solve C programming ASAP Write a C

Write a C program that prompts for and reads the number of courses a student takes in a semester; it then displays the total charge to be paid. In each semester, a private University charges 2000 Dollars per course for each of the first four courses a student takes. For each course in excess of 4 , the charge is 1500 per course. Your program must display an appropriate error message if the entered number of courses is zero or negative. [ /10] codio@tonight-bogart: /workspace/exam\$ ./q6 Enter number of courses: 3 Total charge =6000 Dollars codio@tonight-bogart: /workspace/exam\$./q6 Enter number of courses: 5 Total charge =9500 Dollars codio@tonight-bogart: /workspace/exam\$./q6 Enter number of courses: -2 Error: Invalid number of courses

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!