Question: Session 2 January 22, 2018 Core Lab 2.3 (6 lab points] Create a class named Weeks01d that will ask the user for their age as

 Session 2 January 22, 2018 Core Lab 2.3 (6 lab points]

Session 2 January 22, 2018 Core Lab 2.3 (6 lab points] Create a class named Weeks01d that will ask the user for their age as a whole number of weeks and will then output how many entire year many seconds they have been alive. s the person has been alive and how Here is a sample run for the test case where the user inputs 1057: 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 number7 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!