Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

please do not write code in text just screenshot it write in java Problem 5: Student Grader (10 points) You're a student enrolled in the

image text in transcribed
image text in transcribed
please do not write code in text just screenshot it
write in java
Problem 5: Student Grader (10 points) You're a student enrolled in the introductory computer science course at UNO and you just cant wait to see what your grade is so you decide to calculate it on your own. The problem is that your final grade is determined as a weighted average between three different grade types. To average, Lab average, Homework average. Facts: Test average is worth 40% of final grade Lab average is worth 10% of final grade Homework average is worth 50% of final grade Input Your solution must take in three numerical inputs (floating point) with a range from 0.0 to any positive number. The first input represents the tests average. The second input represents the homework average. The third input represents the lab average. Output The output should display the student's final average as a numerical score (floating point). Sample Input Sample output 90 80 70 75 100 100 000 83.0 90.0 0.0 Problem 4: Bouncer Bot (10 points) You're hired by the popular nightclub, 'Club B-day to Club B-day has a novel criteria for entering, where it must state law stipulates that a patron must also be age alcohol is served. Your robot must determine whether a person ca following conditions: is today their birthday? Are they 21 years or older? nightclub, 'Club B-day' to automate the job of their bouncers. ering, where it must be that person's birthday. Additionally a patron must also be aged 21 or over to enter the premises since determine whether a person can enter the club given the Input Your solution must take in a total of six nur The first three inputs represent the must take in a total of six numerical inputs with each input separated by a space. e inputs represent the current month, current day, current year as integers. The ee 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 with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions