Computers and Technology
Computers and Technology, 21.02.2021 14:00, lucky1940

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 ​

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:30, yoyo9661
Under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 1
image
Computers and Technology, 22.06.2019 20:40, broang23
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
image
Computers and Technology, 23.06.2019 21:30, maddietomlinson113
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
image
Computers and Technology, 24.06.2019 05:00, alfarodougoy8lvt
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
Do you know the correct answer?
Write a JAVA code that would initialize a variable containing an age of a person, then calculate an...

Questions in other subjects: