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:...


Write a C program to input the user choice to<br>calculate School Fees or College Fees. If<br>choice is 1 for School fees, input the monthly<br>rate. Calculate and display the school fee<br>using the formula:<br>SchoolFee=monthlyrate+(450/12)<br>Otherwise calculate college fee . Input the<br>course fee. Calculate and display the college<br>fee using the formula:<br>College fee=courseFee+(courseFee *0.15)<br>Sample Output:<br>1. School Fees<br>2. College Fees<br>Enter your choice(1/2):1<br>Enter Monthly rate :85<br>School Fees =122.000000<br>1. School Fees<br>2. College Fees<br>Enter your choice(1/2):2<br>Enter course Fee:350<br>College Fees =402.500000<br>

Extracted text: 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 2. College Fees Enter your choice(1/2):2 Enter course Fee:350 College Fees =402.500000

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here