NTR 100 COMPLETE Syllabus and Academic Integrity Acknowledgement Arizona State University
NTR 100 COMPLETE Syllabus and Academic Integrity Acknowledgement Question 1 1 / 1 pts I have read the ASU ā¦
Course project
For my project, I have chosen the financial calculator. This program will take input from the user such as interest rate, length of loan, amount borrowed, or desired payment and calculate the loan information. Once the information has been calculated, it will display that information for the user. The input information and calculations will be able to be saved for later retrieval.
Input Processes Output
Interest rate amount borrowed * interest rate loan total
Loan length amount borrowed + interest monthly payment
Amount borrowed calculate length of loan number of payments
Desired payment calculate loan number of payments amount borrowed
C++ Code Week 2
#include < iostream >
#include <string> #include < cmath > #include <iomanip> using namespace std;
int main()
{
//Variables
double lengthOfLoan, amountOfLoan, interestRate, monthlyPayment, loanTotal,
totalInterest; //Program
cout << “Welcome to the loan Calculator!\n”
<< “You will be asked to enter the amount of your loan,\n”
<< “the interest rate, and lenth you would like your loan for.\n”
<< “The program will then tell you your monthly payment.\n\n”; cout << “Please enter the loan amount: $"; cin » amountOfLoan;
cout << “Please enter the interest rate: “; cin » interestRate;
cout << “Please enter the length of the loan in months: “; cin » lengthOfLoan; //Calculations
totalInterest = amountOfLoan * interestRate; loanTotal = (amountOfLoan + totalInterest); monthlyPayment = loanTotal / lengthOfLoan;
//Display monthly payment
cout << fixed << setprecision(2);
cout << “Your monthly payment is: $” << monthlyPayment<<"\n”; system(“pause”) ; return 0;
Week 3
#include < iostream >
#include <string> #include < cmath > #include <iomanip> using namespace std;
int main()
{
//Variables
double lengthOfLoan, amountOfLoan, interestRate, monthlyPayment, loanTotal,
totalInterest; char yes; //Program
cout << “Welcome to the loan Calculator!\n”
<< “You will be asked to enter the amount of your loan,\n”
<< “the interest rate, and lenth you would like your loan for.\n”
<< “The program will then tell you your monthly payment.\n\n”; cout << “Please enter the loan amount: $"; cin » amountOfLoan;
cout << “Please enter the interest rate: “; cin » interestRate;
cout << “Please enter the length of the loan in months: “; cin » lengthOfLoan; //Calculations
totalInterest = amountOfLoan * interestRate; loanTotal = (amountOfLoan + totalInterest); monthlyPayment = loanTotal / lengthOfLoan;
//Display monthly payment
cout << fixed << setprecision(2);
cout << “Would you like to see you monthly payment? Y/N: “; cin » yes;
if (yes == ‘Y’ || yes == ‘y’)
{ cout << “Your monthly payment is: $” << monthlyPayment << “\n”;
}
else cout << “I’m sorry, when can start over.";
system(“pause”) ;
return 0;
}
NTR 100 COMPLETE Syllabus and Academic Integrity Acknowledgement Question 1 1 / 1 pts I have read the ASU ā¦
HEP 456 Module 6 Section 14 Communication and Dissemination of The Findings HEP 456: Health Promotion Program ā¦
HEP 456 Module 5 Section 12 and 13 Planning for Analysis and Interpretation and Gantt chartĀ Name HEP 456: ā¦