Page 1 of 1

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
by answerhappygod
Question 2 In This Program User Is Asked To Enter The Age And Based On The Input Hint Scanf The If Else Statement Ch 1
Question 2 In This Program User Is Asked To Enter The Age And Based On The Input Hint Scanf The If Else Statement Ch 1 (14.29 KiB) Viewed 55 times
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)