Solved

Problems - Correcting Logic and Code Errors

Question 47

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents