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

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

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!