Question: (a) What is multiple selection switch statement? Write its syntax. (b) Write a C program to read the amount of loan and number of tenure

(a) What is multiple selection switch statement? Write its syntax. (b) Write a C program to read the amount of loan and number of tenure years in the main program, and compute the equated monthly instalment (EMI) amount for a customer's loan using switch control statement in a function names COMPUTED_EMI. Number of year and percentage of EMI are tabulated in the following table. Your output should display loan amount, number of years and EMI. (10 marks] Number of years 1 2 3 4 5 EMI 10% of loan 11% of loan 12% of loan 14% of loan 15% of loan
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
