Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Would like to know what modifications needed within the code in order for it to run and how the code should look when I flowchart
Would like to know what modifications needed within the code in order for it to run and how the code should look when I flowchart it
File Edit Format Run Options Window cust.Zipo custAge-0 Help validIt-1 TotalOrder0 CustAge0 Items30 0 TtemsInZip o ItemsInOtherzips Storezip 71209 ZIP MSG "Enter the zip code: " AGE MSG "Enter the customer age: " ITEM MSG "Enter number of items:" tere us lef validzipCode ): global custzip while custzip > 99999: print ("Please enter a valid zip code") custzip int (input ("Please enter a valid zip code") val idCustAge ( ) : global custAge while custAge > S or custAge ? 105: print ("Please enter a valid customer age custAge-int (input ("Please enter your age"y def vaiiditems giobal validIt, Items attemptso limit- 2 validIt-1 while Items 12 and attempts 0: print("items 1n the , StoreZip, zip code ItemsInZip) O Type here to search File Edit Format Run Options Window cust.Zipo custAge-0 Help validIt-1 TotalOrder0 CustAge0 Items30 0 TtemsInZip o ItemsInOtherzips Storezip 71209 ZIP MSG "Enter the zip code: " AGE MSG "Enter the customer age: " ITEM MSG "Enter number of items:" tere us lef validzipCode ): global custzip while custzip > 99999: print ("Please enter a valid zip code") custzip int (input ("Please enter a valid zip code") val idCustAge ( ) : global custAge while custAge > S or custAge ? 105: print ("Please enter a valid customer age custAge-int (input ("Please enter your age"y def vaiiditems giobal validIt, Items attemptso limit- 2 validIt-1 while Items 12 and attempts 0: print("items 1n the , StoreZip, zip code ItemsInZip) O Type here to search
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started