Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can you help me please Bank Sohar wants you to write a program that will compute the fine amount for their customers who have not
can you help me please
Bank Sohar wants you to write a program that will compute the fine amount for their customers who have not paid their loan amount. The program should accept customer name, and the amount of loan 1, loan 2 and loan 3. Use Anonymous functions or Lambda to solve the following: a. Accept as parameters the three loans and return the total amount of loan. b. Return the fine amount as value. The fine amount is computed based on total amount of loan. If the total amount of loan is above 650 OMR then the fine amount is computed as 5.5% of total amount of loan, otherwise, fine amount is computed as 4.5% of total amount of loan. Display customer name, total amount of loan and the fine amount. University of Technology and Applied Science - Shinas ITSE 201 - Programming 2 Laboratory Exercises 5-10 Laboratory Exercise No. 10 Grade Calculator The program should accept the student ID, class participation score and major exam score. Use anonymous functions to solve the following: a. Display your university name and your course. b. Compute for the grade of the student using the formula below: Grade = 60 % of participation score + 40% of major exam score c. Return the remarks based on the grade. If the grade is more than or equal to 67, return the remarks "Passed", otherwise return "Failed. Display the results of the three anonymous functionsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started