Question: C# D Micros x ClassDXV D CS 210 in x https://bc VD E arm,Prc xe an Cireu x YG Ciroats 2VG crai svilleedu/bbeswebda/pid-482431-dt-content-rid-2778149 1/courses/CS-210-012018FA 36088/03InClassExercse
D Micros x ClassDXV D CS 210 in x https://bc VD E arm,Prc xe an Cireu x YG Ciroats 2VG crai svilleedu/bbeswebda/pid-482431-dt-content-rid-2778149 1/courses/CS-210-012018FA 36088/03InClassExercse 2819629 pdf CS 210- Fundamentals of Programming I In-class Exercise 3 The purpose of this exercise is to continue working with functions. It is based on the Chapter 3 Prograaming Project 1 on page 167 of the textbook that will be covered in lecture today. An empty CodeBlocks project should be created for this exercise, and the main program file loanpayment.a should be downloaded from Blackboard to the project folder, then add the file to the project as demonstrated in class. Type your name into the file heading comment. DO NOT change the name of the file. Problem Statement Many new college graduates borrow money to buy their first new car. The cost of borrowing money is computed using an iterest rate, usually expressed as an annual percentage rate (APR). expressed as the number of monthly payments to be paid (e.g. 36, 48, or 60 months for a car loan). In order to know will be. The formula for monthly) is The length of a loan usually is whether the graduate can afford a particular car, she needs to know how much her monthly loan payments computing a monthly loan payment (for any kind of loan with interest compounded iP payment where P principal (the amount borrowed) i monthly interest rate (1/12 of the APR) ntotal number of payments Program Specifications Write a program that computes the monthly payment of a loan. The program should prompt the user for the purchase price, a down payment amount, the annual interest rate (in decimal form, eg. 05 for 5%), and the total number of monthly payments. It should display the amount borrowed and the monthly loan payment including a dollar sign and exactly two decimal places. Your program should interact with the user in exactly the manner shown below (user input shown in bold) LOAN PAYMENT CALCULATOR Enter the purchase price: 18000 Enter the down payment: 2000 Enter the annual interest rate (in decinal form): .07 Enter the total number of monthly payments: 60 The amount borrowed is $16000.00 The monthly payment will be $316.82 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
