Question: CHALLENGE ACTIVITY 12.2.4: If-else statement: Print senior citizen. Write an if-else statement that checks patronAge. If 55 or greater, print Senior citizen, otherwise print Not

 CHALLENGE ACTIVITY 12.2.4: If-else statement: Print senior citizen. Write an if-else

CHALLENGE ACTIVITY 12.2.4: If-else statement: Print senior citizen. Write an if-else statement that checks patronAge. If 55 or greater, print "Senior citizen", otherwise print "Not senior citizen" (without quotes). End with newline. 1 test passed 1 #include 2 using namespace std; 3 4 int main() { 5 int patronAge; 6 7 cin >> patronage; 8 \* Your solution goes here */ 10 11 return 0; 12} All tests passed 9 Run

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!