Question: Starter code: import java.util.*; public class Sizes { public static Scanner kbd; public static void main(String[] args) { kbd = new Scanner(System.in); kbd.close(); } }

 Starter code: import java.util.*; public class Sizes { public static Scanner

kbd; public static void main(String[] args) { kbd = new Scanner(System.in); kbd.close();

} } please attach a screenshot of your code for better readability.

Parts needed from the assignment: p1 p2 p3 p4 the project Create

Starter code:

import java.util.*;

public class Sizes { public static Scanner kbd;

public static void main(String[] args) { kbd = new Scanner(System.in); kbd.close(); } }

please attach a screenshot of your code for better readability.

Parts needed from the assignment:

p1

the entire Sizes program. Begin by copying your hatSize, jacketSize, waistSize and

p2

menu methods from the assignment and pasting them into the Sizes file,p3

so you can use these methods to help you complete the project.

p4

Your program should begin by asking the user to enter the height,

weight and age. The user's inputted values are shown below in italics.

the project Create the entire Sizes program. Begin by copying your hatSize, jacketSize, waistSize and menu methods from the assignment and pasting them into the Sizes file, so you can use these methods to help you complete the project. Your program should begin by asking the user to enter the height, weight and age. The user's inputted values are shown below in italics. Enter your height (in inches): 65 Enter your weight (in pounds): 159 Enter your age (in years): 35 Next, display the menu on the screen by using your menu method. The user's inputted values are shown below in italics. 1. Calculate Hat Size 2. Calculate Jacket Size 3. Calculate Waist Size 4. No More Calculations Enter your choice: 2 If the user entered 1, 2 or 3, then you should display the requested size on the screen. The size should be formatted to display exactly three decimal places. Your jacket size is: 35.885 inches Continue displaying the menu and displaying the requested sizes, until the user enters option 4. Once option 4 has been entered, your program should ask if the user wishes to calculate sizes for a different person. Your program should respond correctly if the user enters a capital or lowercase Y' If the user enters Y, then the program should go back and ask the user enter the height, weight and age. If the user enters 'N', then the program should end. the project Create the entire Sizes program. Begin by copying your hatSize, jacketSize, waistSize and menu methods from the assignment and pasting them into the Sizes file, so you can use these methods to help you complete the project. Your program should begin by asking the user to enter the height, weight and age. The user's inputted values are shown below in italics. Enter your height (in inches): 65 Enter your weight (in pounds): 159 Enter your age (in years): 35 Next, display the menu on the screen by using your menu method. The user's inputted values are shown below in italics. 1. Calculate Hat Size 2. Calculate Jacket Size 3. Calculate Waist Size 4. No More Calculations Enter your choice: 2 If the user entered 1, 2 or 3, then you should display the requested size on the screen. The size should be formatted to display exactly three decimal places. Your jacket size is: 35.885 inches Continue displaying the menu and displaying the requested sizes, until the user enters option 4. Once option 4 has been entered, your program should ask if the user wishes to calculate sizes for a different person. Your program should respond correctly if the user enters a capital or lowercase Y' If the user enters Y, then the program should go back and ask the user enter the height, weight and age. If the user enters 'N', then the program should end

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!