Eligible for vote or not in C programming
QUESTION : Eligible for vote or not :-(using If-Else ladder ) SOURCE CODE : int main () { int age ; printf ("Enter your own age "); scanf (" %d",&age); if (age>=18) { printf (" Yes, you are eligible for vote "); } else { printf (" Sorry ,now you are not eligible for vote "); } return 0; } INPUT : OUTPUT : ------ THANK YOU FOR VISITING THIS PAGE