QUESTION 2 In this program user is asked to enter the age and based on the input (hint: scanf), the if-else statement ch
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
QUESTION 2 In this program user is asked to enter the age and based on the input (hint: scanf), the if-else statement ch
QUESTION 2 In this program user is asked to enter the age and based on the input (hint: scanf), the if-else statement checks whether the entered age is greater than or equal to 18. If this condition meet then display message "You are eligible for voting", however if the condition doesn't meet then display a different message "You are not eligible for voting". (10 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!