168k views
3 votes
A program reads as follows:

if age 2
print ("free admission")
elif 2 s ages 12
print ("children's admission is $5")
elif 12 print (student admission is $8")
elif age > 22
print ("general admission is $10")
If the age of the ticket buyer is entered as 13 how many steps would the program run through before executing?
1
2.

1 Answer

4 votes

Answer:

It would take 4 steps

Step-by-step explanation:

User Usama Abdulrehman
by
4.3k points