Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Estimate the amount of time a person has slept in their life ( roughly ) . Write a Java application that will input a person
Estimate the amount of time a person has slept in their life roughly
Write a Java application that will input a persons name, age, and
a typical number of hours heshe sleeps per night. Valid input
could be:
Joe Smith
From that data, calculate:
The number of hours the person has slept during hisher life
o age hours slept each night
The number of days the person has slept during hisher life
o Answer from # divided by
The number of years the person has slept during hisher life
o Answer from # divided by
NOTE: You are estimating the values above. For example, your age is based upon your last
birthday. Do not worry about days since a persons last birthday
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started