Question: please write in Java code *with a photo of the actual code in text editior too Problem 4: Bouncer Bot (10 points) You're hired by
Problem 4: Bouncer Bot (10 points) You're hired by the popular nightclub, 'Club B-day' to automate the job of their Club B-day has a novel criteria for entering, where it must be that person som state law stipulates that a patron must also be aged 21 or ulates that a patron must also be aged 21 or over to enter the premises since alcohol is served. Your robot must determine whe Your robot must determine whether a person can enter the club given the following conditions: Is today their birthday? Are they 21 years or older? Te it must be that person's birthday. Additionally Input Tour Solution must take in a total of six numerical inputs with each input separated by a space. The first three internet not three inputs represent the current month. current day, current year as integers. The other three inputs represents the birth month, birth day, birth year as integers. Output The output should display as a boolean result whether the patron can enter or not. Sample output Sample Input 1 31 2018 1 31 1990 1 31 2018 1 30 1990 1 31 2020 1 31 2010 true false false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
