Question: Consider the following code: EXIT _ STRATEGY = Run! PROMPT _ TEXT = Would you like to continue? You could run... DANCE = 'Renegade'
Consider the following code:
EXITSTRATEGY "Run!"
PROMPTTEXT "Would you like to continue? You could run...
DANCE 'Renegade'
response inputPROMPTTEXT
whatido DANCE
while response EXITSTRATEGY:
whatido DANCE
printfOk I do whatido
response inputPROMPTTEXT
printDANCE
What is the sentinal variable? Be sure to use include capitals and spaces where appropriate.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
