Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

please write in Java code *with a photo of the actual code in text editior too
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions

Question

Employ effective vocal cues Employ effective visual cues

Answered: 1 week ago