Question: CHALLENGE 313 Basic if-else ACTIMITY Reset Write an if-else statement for the following If user Tickets is less than 5, execute awardPoints-1. Else, execute awardPoints
CHALLENGE 313 Basic if-else ACTIMITY Reset Write an if-else statement for the following If user Tickets is less than 5, execute awardPoints-1. Else, execute awardPoints userTickets Ex If userTickets is 3, then awardPoints 1 rinc lude ciostream 2 using nanespace std 4 Ant main) ( 6 int userTickets; 8 cin > userTickets; / Program wil1 be tested with values: 3, 4, 5,6 s int awardPoints 12 cout awardPoints endl 13 return ej 14 15 Check Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
