Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

pograming1image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

More Books

Students explore these related Databases questions