Computer Science, asked by mamtasrivastavashta1, 8 months ago

Plzz solve this problem plz....​

Attachments:

Answers

Answered by dheerajgowda333
1

Explanation:

C++-program

#include<iostream>

using namespace std;

int main()

{

int age;

cout<<"enter the age of customer" ;

cin>>age;

if(age>=18)

{

cout<<"customer is eligible to vote" ;

}

else

{

cout<<"customer is not eligible to vote" ;

}

return 0;

}

Similar questions