import java.util.Scanner;
public class Ozo {
public static void main(String [] args) {
Scanner Henry = new Scanner (System.in);
System.out.println("Hello Welcome to Algorithm Chemist\nHow may we
help you?");
String name, stress;
int age;
System.out.println("Please what is your name?");
name = Henry.nextLine();
System.out.println("What is your stress?");
stress = Henry.nextLine();
System.out.println("How old are you?");
age = Henry.nextInt();
if (age <= 12 && stress == "HeadAce") {
System.out.println("Take one tablet of Panadol Extra and one
tablet of Paracetamol");
if (age >=13 && stress == "HeadAce") {
System.out.println("Take two Tablet of Paracetamol and one tablet
of Panadol");
if (age <= 12 && stress == "Malaria") {
System.out.println("Take one dose of Alabukun or better advise go
for herbal medicine");
if (age >= 13 && stress == "Malaria") {
System.out.println("Take two dose of Alabukun and one tablet of
Postinol");
System.out.println("Thank you for using our service, we sincerely appreciate your patronage");
}
}
}
}
}
}
I am creating a project in Java. And anytime I enter a value of >= 13 it does not display anything.