import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Mark: ");
int mark = in.nextInt();
System.out.print("Gender: ");
String gender = in.next();
System.out.print("Age: ");
int age = in.nextInt();
if (gender.equalsIgnoreCase("female") && age < 25 && mark >= 80) {
System.out.println("Congratulations! You might be in Toronto, Canada next year for ICWC!");
} else {
System.out.println("Unfortunately you do not qualify! ");
}
}
}
Comments
Leave a comment