Question: Create a class named Weeks0ld that will ask the user for their many seconds they have been alive. Here is a sample run for the

 Create a class named Weeks0ld that will ask the user for

Create a class named Weeks0ld that will ask the user for their many seconds they have been alive. Here is a sample run for the test case where the user inputs 1057: age as a whole number caw outpeut how many entire years the person has been alilve and how How many weeks old? 1057 You are 20 years old. You have been alive for 639273600 seconds Enhanced Lab 2.4 [2 lab points] Your job on this exercise is to create class named Add6 that will ask the user for 6 integer values and print their total. But, to make it more interesting, you are only allowed to declare and use two int variables, say named something like input and sum. Here is a sample run for the test case where the user enters 1, 3, 5, 7, 9, and 11: enter a number: 1 enter a number 3 enter a number: 5 enter a number: 7 enter a number: 9 enter a number: 11 total-36

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!