Question: Write a C program to input the user choice to calculate School Fees or College Fees. If choice is 1 for School fees, input the

 Write a C program to input the user choice to calculate
School Fees or College Fees. If choice is 1 for School fees,

Write a C program to input the user choice to calculate School Fees or College Fees. If choice is 1 for School fees, input the monthly rate. Calculate and display the school fee using the formula: SchoolFee=monthlyrate+(450/12) Otherwise calculate college fee. Input the course fee. Calculate and display the college fee using the formula: College fee=courseFee+(courseFee *0.15) Sample Output: 1. School Fees 2. College Fees Enter your choice(1/2):1 Enter Monthly rate :85 School Fees =122.000000 1. School Fees . College Fees Enter your choice(1/2):2 Enter course Fee: 350 College Fees =402.500000 Write a C program to accept 5 integers and from the given numbers print only the numbers which are divisible by 4 and less than 20 using loops. Sample Output: Enter 5 Integers:12 45 48 8 73 12 18

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!