subject
Computers and Technology, 30.03.2020 21:21 biba54

The for loop calculates the amount of money in a savings account after numberYears given an initial balance of savingsBalance and an annual interest rate of 2.5%.
Complete the for loop to iterate from 1 to numberYears (inclusive).

function savingsBalance = CalculateBalance(numberYears, savingsBalance)
% numberYears: Number of years that interest is applied to savings
% savingsBalance: Initial savings in dollars
interestRate = 0.025; % 2.5 percent annual interest rate

% Complete the for loop to iterate from 1 to numberYears (inclusive)
for ( )
savingsBalance = savingsBalance + (savingsBalance * interestRate);
end
end

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
You know the right answer?
The for loop calculates the amount of money in a savings account after numberYears given an initial...
Questions
question
Mathematics, 13.10.2020 02:01
question
Chemistry, 13.10.2020 02:01
question
Computers and Technology, 13.10.2020 02:01
question
Mathematics, 13.10.2020 02:01
question
Advanced Placement (AP), 13.10.2020 02:01
question
Mathematics, 13.10.2020 02:01
question
Mathematics, 13.10.2020 02:01
question
Mathematics, 13.10.2020 02:01
Questions on the website: 13722361