Question: Write an if - else statement to output 'Ogonna is not an adult' if the value of user _ age is less than or equal

Write an if-else statement to output 'Ogonna is not an adult' if the value of user_age is less than or equal to 17. Otherwise, output
'Ogonna is an adult'.
Ex: If the input is 16, then the output is:
Ogonna is not an adult
1 user_age input ()
 Write an if-else statement to output 'Ogonna is not an adult'

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!