Question: can you help me fix this? Declare category as String Declare rate as Float Declare creditHours as Integer Declare tuition as Float Declare fees as

can you help me fix this?
Declare category as String
Declare rate as Float
Declare creditHours as Integer
Declare tuition as Float
Declare fees as Float
'Constant Fee_Rate as Float =8.0
'display fee schedule
WRITE "This program calculates the student's tuition"
WRITE "Tuition categories:"
WRITE "1) In-state"
WRITE "2) Out-of-state {bordering county}"
WRITE "3) Out-of-state {other county}"
'get input from user
WRITE "Enter tuition category {1,2, or 3}:"
INPUT category
WRITE "Enter the number of credit hours:"
INPUT creditHours
'determine which rate to use
'Select Case of category
'Case "1":
'rate =179
'Case "2":
' rate 358
'Case "3":
' rate 627
'End Case
'calculate tuition and fees
'creditHours *rate = tuition
'creditHours *Fee_Rate = Fees
'tuition + fees = total
'display output to user
'Write "Tuition rate ="+ rate
'WRITE "_______________________"
'Write "Tuition ="+ tuition
'Write "Fees ="+ fees
'Write "________________________"
'Write "Total tuition + fees ="+ total
STOP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!