Question: pograming1 ELearning Bank Muscat wants you to write a program that will compute the fine amount for their customers who have not paid their loan

pograming1pograming1 ELearning Bank Muscat wants you to write a program that will

ELearning Bank Muscat wants you to write a program that will compute the fine amount for their customers who have not paid their loan amount. Fine amount is computed based on the customers' loan amount. The program should accept the customer name and the amount of loanl, loan2 and loan3. Compute the total amount of loan. If the total amount of loan is above 1000 OMR then the fine amount is computed as 15% of total amount of loan, otherwise fine amount is computed as 20% of total amount of loan. The program should display customer name, total amount of loan and the fine amount. Sample Output name= AHMED loanamount= 1600 fineamount=240.0 Marks Distribution: Input Process/logic Output 1 1.5 2.5

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!