Solved

Problems - Correcting Logic and Code Errors

Question 18

Essay

Problems - Correcting Logic and Code Errors
BrightStar Day School needs an application to calculate the total monthly tuition charge for students. The tuition schedule is shown below:
Class Fee per Month
Tuesday (T) and Thursday (R)   $135
Monday (M), Wednesday (W), and Friday (F)   $120
Students in the Tuesday and Thursday class can attend on Friday for an extra fee of $10 for each Friday attended. Rewrite the following algorithm to correct any logic errors:
If TR class and attend on Friday
Tuition = 135 + 10
Else
If MWF
Tuition = 120
End If
End If

Correct Answer:

verifed

Verified

If MWF class
Tuition = 120
E...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions