import java.util.Scanner;
public class Program
{
public static void main(String[] args) {
int age;
Scanner input = new Scanner(System.in);
age = input.nextInt();
if(age>16){
System.out.println("get a job");
if(age>1{
System.out.println("you are old enough to smoke weed now");
}
}
}
else
{
System.out.println("sorry mate u are to young 4 either one");
}
}
import java.util.Scanner;
public class Program
{
public static void main(String[] args) {
int age;
Scanner input = new Scanner(System.in);
age = input.nextInt();
if(age>16){
System.out.println("get a job");
if(age>1{
System.out.println("you are old enough to smoke weed now");
}
}
else
{
System.out.println("sorry mate u are to young 4 either one");
}
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.