Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

=+ c. a company president deciding whether to open a new factory

Answered: 1 week ago