Computer Science, asked by karthikps, 1 year ago

Write a program in C++ to check whether a given person is eligible to vote or not?

Answers

Answered by ChiranjeetChoudhury
9

#include
int main ()
{
int age;
cout << "Enter your age =";
cin >> age;
if (age >= 18)
cout << " Eligible to vote";
return 0;
}
Similar questions