// Miya Natsuhara // 07-10-2019 // CSE142 // TA: Grace Hopper // Acts as the bouncer for a club, asking the user for their age and printing out an appropriate // message for them depending on how old they are. import java.util.*; public class Bouncer { public static void main(String[] args) { Scanner console = new Scanner(System.in); System.out.println("Welcome to The dawgHouse!"); System.out.print("What is your age? "); int age = console.nextInt(); if (age >= 21) { System.out.println("Come on in!"); if (age >= 65) { System.out.println("senior discount on tequila shots!!!"); } } else { System.out.println("gimme the chocolate milkkkkk"); } System.out.println("You are " + age + " years old!"); } }