diff --git a/Beginner/Voting-ELigibility b/Beginner/Voting-ELigibility new file mode 100644 index 00000000..35f2406f --- /dev/null +++ b/Beginner/Voting-ELigibility @@ -0,0 +1,21 @@ +//Voting Eligibility Checker + +#include +#include + +using namespace std; + +int main() +{ int age; + cout<<"***Voting ELigibility Checker***\n"; + cout << "\n Enter your age: "; + cin>>age; + + if(age>=18) + cout<<" Congratuations! You are eligible for voting!" + + else + cout<<"Sorry! You are ineligible for voting" + + getch(); +}