Computer Science, asked by SnehilPrasad, 7 months ago

Write a program to accept the age of a person and check whether the person is eligible as

voter or not.










this is from computer application,hope u help:)​

Answers

Answered by deviharicharan
2

Answer:

see the explanation

Explanation:

int main(){

int age;

cout<<"enter the age of the person";

cin>>age;

if(age>=18)       //assuming 18 as min age

{

cout<<"person is eligible as a voter";

}

else{

cout<<"he is not eligible as a voter";

}

return 0;

}

Answered by neerajmaan446
1

Answer:

hi,

wait just telling

this is from ip class 11

Similar questions