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:
Verified
Tuition = 120
E...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q43: The price chart for Trent Wholesale is
Q44: Jamestown Medical Center pays a year-end bonus
Q45: BounceIt Gymnasium needs an application to calculate
Q45: What is a nested selection structure? How
Q49: Ocean Resorts,Inc.pays a commission to employees based
Q51: An application needs to generate three random
Q51: Case-Based Critical Thinking Questions Case 1 -
Q54: Write a multiple-alternative selection structure that assigns
Q56: Logic errors in selection structures are a
Q58: Write a multiple-alternative selection structure that displays
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents