QUESTION 2 In this program user is asked to enter the age and based on the input (hint: scanf), the if-else statement ch
Posted: Sun May 15, 2022 2:33 pm
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)