Question: code in JAVA please read the requirement carefully and write the code. one more thjng don't copy the code from other chegg users i already


Request edite C About This Lab In this tab, you will be creating an "over-calculating program. You will ask the user for some information about themselves, and then you will perform some over-calculations on that data. This lab will enforce all the basics of Java such as saving data to variables and performing operations on them. Name Requirements Java file name: OverCalculator.java Main class name: OverCalculator Instructions Part 1: Gather user's data We want to prompt the user for the following data: 1. Their full name 2. Their age, in years 3. Their height, in meters (le: 1.7) 4. Their weight, in pounds (ie: 178) HINT: Scanner is what allows us to get data from the user, But we need to know the data type we will be expecting Review the functions Scanner bas in the live documentation Part 2: Calculate & display data Once we get all the data, we want to display to the user the following data: 1. Their full name, in all capital letters 2. Their age in: a Years b. Months c. Weeks d. Days e. Hours f. Minutes 8- Seconds HINT - There are 52 weeks in a year and 7 days in a week: 24 hours in a day and 60 minutes in an hour 3. Their body-mass index (BMI): a. BMI formula = weight / height NOTE- you cannot use ^ as an exponent operator in Java, is a logical operator, which we will learn about later b. You should display the BMI once as a decimal number and once as an integer HINT - this is where typecasting comes in to play Sample Output What is your full name? Ufkun Erdin What is your age in years? 28 What is your height in meters? 1.83 What is your weight in pounds? 210 Name: UFKUN ERDIN You are 336 months old You are 1456 weeks old You are 10192 days old You are 244608 hours old You are 14676480 minutes old You are 880588800 seconds old Your BMI is 62.707158 Your BMI (casted to int) is 62 MACROok Pro General Lab Requirements CSC ZII These are the general requirements that apply to all lab submissions in this course. Your source code should have no syntax errors. If there is even a single syntax error in your lab project, it will not compile, meaning the instructor will not be able to run your program. If the source code fails to compile, you will receive a zero on your lab submission. Include a proper header at the top of your Java file. Header Format Lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
