The assignment is for MITS4002 Activity 07: Comparing Loans, where students need to write a program that allows users to input loan amount and period in years, then displays monthly and total payments for each interest rate from 5% to 8%, with an increment of 1/8. The program should use the given formulas to compute the payments.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
MITS4002 OBJECT-ORIENTED SOFTWARE DEVELOPMENT Activity 07 Due: Monday Lesson 09 50% deductionfor Late Submission within one week 0mark for Late Submission more than one week 0mark for duplicated Submission or Shared Work You will be marked based on your submitted zipped file on Moodle. You are most welcome to check your file with your lab tutor before your submission. No excuse will be accepteddue to file corruption, absence from lecture or lab classes where details of lab requirements may be given. PleasemakesurethatyouattendLectureEVERYWEEKaslow attendance may result in academic penalty or failure of this unit. Student ID: Student full name: Total Points (20 pts):
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
MITS4002 Activity 07 Project: Comparing Loans Problem Description: Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Here is a sample run: <Output> Loan Amount:10000 Number of Years:5 Interest RateMonthly PaymentTotal Payment 5.000%188.7111322.74 5.125%189.2811357.13 5.250%189.8511391.59 ... 7.875%202.1712129.97 8.000%202.7612165.83 <Endoutput> Use the formulas below to compute monthly payment and total payment. monthlyPayment=loanAmount∗monthlyInterestRate 1−1 ¿¿¿ totalPayment=monthlyPayment∗12∗numberOfYears Analysis:(Describe the problem including input and output in your own words.) 1