Question: how would this look be structured as a Pseudocode in a word document? Variable Type Purpose strChoice string stores the choice # fitTotal float stores
how would this look be structured as a Pseudocode in a word document?



Variable Type Purpose strChoice string stores the choice # fitTotal float stores the total intVisitors integer stores the number of visitors fltHours float stores the number of hours inputed fitServiceFeePct float stores the service fee fitHourPrice float stores the price of the number of hours # fitTotal float stores the total price before the service fee # fitFinalTotal float stores the final total displayed to the user fitServiceFee float stores the total after multiplying to service fee percent def main ( ): strChoice = mm fitTotal = 0 while strChoice != "x": print (" print ("JUMPERS ADVENTURE ZONE") print (" print () print ( "C Calculate admissions cost") print ("D - Display admission options") print ("X Exit application") print () strChoices input("Enter your menu selection-->"). upper() print () if strChoice =="C": fltTotal = CalculateAdmissionCost() print ("Your total is $" + format(fitTotal, '.26')) elif strChoice == "[": AdmissionOptions ( ) print ("Application closing goodbye ;)") def AdmissionOptions ( ) : print ( "Admission Options") print ( ) print ( "1.0 hours $14.00" ) print ( "1.5 hours $17.00" ) print ( "2.0 hours $20.00") print ( ) input ("Hit ENTER to continue") def CalcServiceFee (subtotal) : fitServiceFeeAmt = 0 fltServiceFeePct = 0.08 fltServiceFeeAmt = subtotal * fltServiceFeePct return fitServiceFeeAmt def CalculateAdmissionCost ( ) : intVisitors = 0 fitHours = 0 fitServiceFeePct = .08##C Calculate admissions cost ##D Display admission options Exit application ##Enter your menu selection- ->x # # ##Application closing goodbye ;) ==29== RESTART: C:/Users/mrunc/Desktop/School/Python/Program 5. py ##JUMPERS ADVENTURE ZONE ##C Calculate admissions cost ##D . Display admission options ##X . Exit application ##Enter your menu selection-->d ##Admission Options ## ##1.0 hours $14.00 ##1 .5 hours $17.00 ##2.0 hours $20.00 ##Hit ENTER to continue ##JUMPERS ADVENTURE ZONE ##C Calculate admissions cost ##D Display admission options ##X Exit application ##Enter your menu selection- ->c #fAre you staying for 1.0, 1.5, or 2.0 hours? Dont forget the .0!1.5 ##How many people will be attending?3 ##Your total is $55.08 ##JUMPERS ADVENTURE ZONE =# =#C Calculate admissions cost =#D Display admission options Exit application ##Enter your menu selection- ->x ##Application closing goodbye ; )fltHourPrice = 0 fit Total = 0 fltFinalTotal = 0 fitHoursPrice = fitServiceFee = 0 fltHours = input("Are you staying for 1.0, 1.5, or 2.0 hours? Dont forget the .0!") if fitHours =="1.(": fitHoursPrice = 14.00 if fitHours =="1.5": fitHoursPrice = 17.00 if fitHours =="2.(": fitHoursPrice = 20.00 intVisitors = int(input("How many people will be attending?") ) fitTotal = fltHoursPrice * intVisitors fitServiceFee = fitTotal * fitServiceFeePct fltFinalPrice = fitTotal + fitServiceFee return fitFinalPrice main ( ) ##=====3939: RESTART: C:/Users/mrunc/Desktop/School/Python/Program 5. py =# ##JUMPERS ADVENTURE ZONE ##C Calculate admissions cost ##D Display admission options Exit application ##Enter your menu selection-->d ##Admission Options ##1.0 hours $14.00 ##1.5 hours $17.00 ##2.0 hours $20.00 ##Hit ENTER to continue ## ##JUMPERS ADVENTURE ZONE # # ##C - Calculate admissions cost ##D Display admission options Exit application ## ##Enter your menu selection-->c ## ##Are you staying for 1.0, 1.5, or 2.0 hours? Dont forget the .0!2.0 ##How many people will be attending?4 ##Your total is $86.40 ##JUMPERS ADVENTURE ZONE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
