-2
write a logical expression to determine whether a person is a voter or not. consider that they are voters, persons aged 16 or over
-2
write a logical expression to determine whether a person is a voter or not. consider that they are voters, persons aged 16 or over
1
Would this be:
if (idade >= 16) {
System.out.println("apto a votar");
} else {
System.out.println("inapto a votar");
}
Browser other questions tagged java
You are not signed in. Login or sign up in order to post.
What mistake are you making, where is the code?
– hinoago