Step-by-step explanation:
Open the NetBeans IDE and create a new project named MySizes.java. Your program should do the following:
Declare and initialize an int variable for the comparison expression (waist measurement).
Assign a value to the variable to be used as the customer’s response for the program.
Create a switch-case statement that includes three cases and a default statement. Use appropriate conditional operators ( =, >) to define the three case comparisons.
Create output lines for each case, stating the appropriate pant size.
Create a default statement if the customer waist measurement does not match any case.
Then, Create nested if statements that accomplishes the same results.
( I really need this for a project, it doesn't need to be correct it just needs to look like it is, this is in Java )