subject

Write a JAVA code that would initialize a variable containing an age of a person, then calculate and print the age of a person’s age in terms of:

a) months;

b) days;

c) hours; and

d) seconds.

TEST RUN;

Input: 1 year old

Birthday: February 21, 2020

OUTPUT;

a. Months= 12 months
b. days= 365 days
c. hours= 8760 hours
d. seconds= 31,536,000 ​

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:20
When developing a stakeholder matrix, the portfolio manager must look at the portfolio governance in order to complete the stakeholder analysis. in your own words, what is the role, interest and expectations of the governance?
Answers: 3
question
Computers and Technology, 22.06.2019 15:50
The file sales data.xlsx contains monthly sales amounts for 40 sales regions. write a sub that uses a for loop to color the interior of every other row (rows 3, 5, etc.) gray. color only the data area, columns a to m. (check the file colors in excel.xlsm to find a nice color of gray.)
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Which type of cloud computing offers easily accessible software and applications on the machines
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
Once a vulnerability has been identified by nessus, where would you check for more information regarding the identified vulnerability, exploits, and any risk mitigation solution?
Answers: 1
You know the right answer?
Write a JAVA code that would initialize a variable containing an age of a person, then calculate an...
Questions
Questions on the website: 13722359