write a brief description of what the program will do. Prepare an IPO chart for your program. Create two or three sample screens (using Word or a drawing program) depicting what your program will look like to the user (remember that these will be console-based programs).
Project
loan payment calculator, it asks for interest rate, length of loan, amount of loan, and it displays monthly payment.
What is the best description, ipo chart, pseudo code and sample screen for this type of project?
Description: This is a simple loan payment calculation tool that helps the user to quickly calculate the monthly payments and helps you plan your repayment in an effective way.
IPO Chart:
INPUT |
PROCESSING |
OUTPUT |
Take Interest rate - R Length of loan - T Amount of loan - P |
Processing Item: Monthly Payment Algorithm 1. Enter the details and store in variables P, R, and T. 2. Save the value of (P*R*T)/100 in a new variable I 3. Store the value of P/(12*T) in variable J 3. Display I + J |
Monthly Interest |
Pseudocode:
1. Enter the values for P, R, and T.
2. Store the monthly Interest in I = (P*R*T)/(100*12*T)
3. Store the value J = P/(T*12)
4. Display I+J as monthly income.
Sample Screen:
Code :
#include<iostream>
using namespace std;
int main()
{
float P,R,T,I,J;
cout<<"..........................................................................."<<endl;
cout<<"-------------------------------EMI
CALCULATOR------------------------------"<<endl;
cout<<"..........................................................................."<<endl<<endl<<endl;
cout<<"Enter the Rate of Interest :
"<<endl;
cin>>R;
cout<<"Enter the Lenght of Loan :
"<<endl;
cin>>T;
cout<<"Enter the Amount of Loan :
"<<endl;
cin>>P;
I= (P*R*T)/(100*12*T);
J=P/(T*12);
cout<<"Monthly Payment is : "<<I+J;
return 0;
}
Please upvote if it helped. Thank you and stay safe.
Get Answers For Free
Most questions answered within 1 hours.