How many times will the while loop that follows be executed? var months = 5; var i = 1; while (i < months) { futureValue = futureValue * (1 + monthlyInterestRate); i = i+1; }

Answer :

tonb

Answer:

4 times

Explanation:

It will be executed for values 1,2,3 and 4 for i.

Other Questions