Question: Define a private helper method called convertToDays ( ) that converts the field weeks to days and returns an integer. Ex: If the input is

Define a private helper method called convertToDays() that converts the field weeks to days and returns an integer.
Ex: If the input is 49, then the output is:
343 days
Note: The equation to convert from weeks to days is: days = weeks *7
Ex: If the input is overcast 93.0, then the output is:
Today's weather: overcast, 93.0%
Ex: If the input is:
Dax 830-597-2996
then the output is:
Voicemail: Hi, you have reached Dax at 830-597-2996

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 Programming Questions!