Question: CHALLENGIE ACTIVITY 3.1.3 Basic if-else Reset Write an if-else statement for the following if userTickets is less than 5, execute awardPoints = 1 . Else,

 CHALLENGIE ACTIVITY 3.1.3 Basic if-else Reset Write an if-else statement for

CHALLENGIE ACTIVITY 3.1.3 Basic if-else Reset Write an if-else statement for the following if userTickets is less than 5, execute awardPoints = 1 . Else, execute awardPoints-userTickets. Ex If userTickets is 3, then awardPoints 1 rinclude ciostream 2 using nanespace std t Ant main)( 6 int userTickets; B cin > userTickets; s int awardPoints Progran w111 be tested with values: 3, 4, 5,6 1e 12 cout e awardpoints endl 13 return Check

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!