Question: What do I change in my if statement in order to get the output of 5? I can only change my if statement and have

What do I change in my if statement in order to get the output of 5? I can only change my if statement and have to be able to get both outputs if the user_tickets is 3 or 5. I already tried the greater than or equal too and doesnt work  What do I change in my if statement in order to
get the output of 5? I can only change my if statement

ACILVLEY6.1.2: Basic if else Write an if-else statement for the following If user_tickets is less than 5, assign 1 to num_tickets. Else, assign user_tickets to Ex: if user-tickets is 3, then num-tickets-1 1 user tickets e 2 if user tickets

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 Databases Questions!