Write an algorithm to find whether the person is eligible for the vote or not.
Answers
Answered by
2
if(a>18||a==18)
{
S.O.Pln("The person is eligible to vote");
}
else
{
S.O.Pln("The person is not eligible to vote");
}
I only wrote the logic/algorithms, but not the whole program so don't be confused.
I can also write the program if you needed
Similar questions