Write a program that calculates and displays the amount of money you would have if you invested $1,000 at 5 percent interest for one year.

2 answers

double money = 1000;
double interest = 0.05;
for (int i = 0; i < 12; i++) {

}
double money = 1000;
double interest = 0.05;
for (int i = 0; i < 12; i++) {
money *= (1 + interest);
}
return money
Similar Questions
  1. Using python write a program that does the following:•Create the logic for a program that calculates and displays the amount
    1. answers icon 0 answers
    1. answers icon 2 answers
    1. answers icon 1 answer
    1. answers icon 1 answer
more similar questions