include
int main ()
{
float dol, rate, total;
printf(“== One Year Interest Calculator ==\n”);
printf(“Enter principal followed by interest rate.\n”);
printf(“Omit the dollar sign and percent symbol.\n”)
printf(“e.g. 13500.23 5.3\n”)
scanf(“%f”, &dol, &rate);
total =
printf(“Interest earned: $ %.002f\n”, dol, rate);
printf(“Ending balance: $ %.002f\n”, dol, rate)
printf(“Big Money!\n”);
}
thats wat I have so far….please help. It’s due tomorrow.
I have to ask the user for a dollar amount and a interest rate. This will all be based on 1 year.
Answer by r
Assuming you are calculating simple interest:
1. you will need to divide your rate by 100 since per cent means “per one hundred.
2. your interest earned = dol * rate
3. your total = dol + dol * rate
Hope these help
Answer by bellato
include
int main ()
{
float dol, rate, interest,total;
printf(“== One Year Interest Calculator ==\n”);
printf(“Enter principal followed by interest rate.\n”);
printf(“Omit the dollar sign and percent symbol.\n”);
printf(“e.g. 13500.23 5.3\n”);
scanf(“%f%f”, &dol, &rate);
interest=dol *(rate/100);
total=dol + interest;
printf(“Interest earned: $ %.02f \n”, interest);
printf(“Ending balance: $ %.02f \n”, total);
printf(“Big Money!\n”);
}

hey guys i have an assignment for c++ and i need to create an interest calculator. Here is my work so far.
#include
#include
using namespace std;
int main ()
{
double initial;
double target;
double interest;
double endAmount;
char choice;
int year =1;
do
{
cout<< "Welcome to my calculator!\n";
cout << "Input the initial amount:\n";
cin>> initial;
cout<<"Input the target amount:\n";
cin>> target;
cout<<"Input the yearly interest rate:\n";
cin>> interest;
cout<< "YEAR\t\t" << "START AMOUNT\t\t" <<"INTEREST\t\t" <<"END AMOUNT\t\t"<< endl;
cout<<"=====\t\t" << "============\t\t" <<"========\t\t" <<"==========\t\t" <
cout << "Continue for another set of values?" << endl;
cout << "Y for Yes" << endl;
cout << "N for No" << endl;
cin >> choice;
}
while (choice != ‘n’ || choice == ‘y’);
{
choice = getchar();
}
return 0;
}
Using this information, the program will calculate the yearly interest that the initial
amount yields. The amount of interest is calculated by multiplying the initial amount by
the interest rate. The amount of money you have at the end of the year is the beginning
amount for the next year.
You program will print a table with 4 columns (values will be aligned):
• Year
• Initial amount (for that year) in Euro
• Interest earned that year
• Ending amount (for that year) in Euro
Now i need to complete the formula for year calculation and stuff like that.. does anyone know how to do it? I’m stuck there.
Thank you for any help.
Amita thx for the respond. pls be more spesicifc as i am kind of new on this programming thing
Answer by Amita
It is for how many yrs, you should know bcos otherwise you will be inputting the choice to continue and this input will disturb the printing of output in a tabular form. so i am changing it and taking the no. of yrs also as input
#include
#include
#include
using namespace std;
int main ()
{
double initial;
double interest;
double endAmount;
int year=1,yrs;
cout<< "Welcome to my calculator!\n";
cout << "Input the initial amount:\n";
cin>> initial;
cout<<"Input the yearly interest rate:\n";
cin>> interest;
cout<<"Input the no. of years:\n";
cin>> yrs;
clrscr();
cout<< "YEAR\t\t" << "START AMOUNT\t\t" <<"INTEREST\t\t" <<"END AMOUNT\t\t"<< endl;
cout<<"=====\t\t" << "============\t\t" <<"========\t\t" <<"==========\t\t" <
do
{
endAmount=initial*interest;
//****use setw if the values are not aligned under headings
cout<<<"\t\t\t"<<<"\t\t\t"<<<"\t\t\t"<<
initial=endAmount;
year++;
}while(year
return 0;
}
I am 23, have a 730 credit score, make $ 73,000 a year, have no debt or loans to payback, but have a credit history of 4 months. I am looking at $ 8000 loan on top of $ 2000 down payment for a car. The dealer contacted 15 banks and only bank that would accept my quote is:
$ 392/month
42 months
Using this interest calculator:
http://www.northeastmotorco.com/loancalculator.aspx
My interest rate would be 48%. Is this right? I can not believe this.
He told me it was because my credit history was too short. I also tried getting a loan through Bank of America and was denied. I have a checking, saving, and 2 credit cards with B of A as well.
Are there any other options you recommend, or do i just need to pay all of it in cash to not get a high interest rate like this one?
Answer by CatDad
48% = financial sodomy
You have a great income. Take the bus to work for 4 months…save your money and buy the best used car you can.
Answer by Huntsman
Most people with your salary buy cars for cash
There are even books that will tell you how to be a master at this.
Nothing, but nothing beats buying a car for cash.
Could you wait another couple of months and just save up the money?
I walked away with a deal of a lifetime on a nissan versa
They called me and I visited 3 days in a row.
Finally, they accepted by offer
Answer by Calvin C
Your dealer is FOS. Auto and home loans are the only loans that are regulated in all 50 states and the max allowed by law is 21% 18% in most. If you really make 74K and want to establish credit you already have bank and they see how you handle money they will loan you 8K without thinking about it at no more then 18% and likely secured with a car about 6%. You might want to go to another dealer as well if he that crooked I cannot imagine what the car is really like