Question: 7.3 LAB 1: Basic if-else. (3 attempts) Note: Do not type the prompts. Instead copy them from the instructions then paste them into your code
7.3 LAB 1: Basic if-else. (3 attempts) Note: Do not type the prompts. Instead copy them from the instructions then paste them into your code Note: Use standard spacing Prompt "Enter the user tickets:" then read user_tickets from the keyboard. If user tickets is less than 5, assign 1 to num_tickets. Else, assign user_tickets to num_tickets. Display num tickets, "The number of tickets is:" Ex if usertickets is'3, then numtickets 1 Note Use standard spacing ompt "Enter the user tickets: then read user tickets from the keyboard. tt user tickets is loss than 5, ansign 1 to num_tickets. Ele, asnign user tickots to num_ ticketa Display nun tickets, "The number of tickete ia:" Ex iIf usertickets i3'3 then numtickets 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
