Answer:
The correct loop is as follows:
for year in range(starting_tuitionYear, ending_tuitionYear, increment):
tuition = startingTuition + rate * startingTuition
startingTuition = tuition
print('Tuition for the year of ' + str(year)+ ' is ' + str(tuition));
Explanation:
Required
The correction to the attached program
Some variables are not needed; so, I've removed the redundant variables.
The main error in the program is in the loop;
After the tuition for each year has been calculated, the startTuition of the next year must be set to the current tuition
<em>See attachment for complete program</em>
there are many styles of coding think about it like art if you had 15 painters working on the same 4x4 painting it would look like a mess.
-scav
Answer:
Laurence can write 10 programs while Carrie Anne can write 5.
Laurence can make 6 sunglasses while Carrie Anne can make 4
Explanation: