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 )

Answers

Answer 1

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 )


Related Questions

plz help brainly and ill give as much points as possible

Answers

Copy and paste: My personal creativity when crating video games simply comes from my spirit to always be different. Most video games that are very popular now are because they are creative in their own way and don’t replicate other games. One day I will make a game and use pure creativity in it and hope it becomes really big one day. Reward, risk/loss, and levels could create a nice sports game and these elements are seen in almost all video games. I’m going to start with a reward for winning the game, then every 5 games you win you move on to the next level. If you lose fail a level more than 3 times you will be placed in the previous level. In real life, the casino is an example of how real-life uses rewards to keep people coming back for more. People are so addicted to gambling in casinos because of the money earning process. You could either win money from the casino or lose money. Generally, many people gamble huge amounts of money at the casino, this is why parents encourage you not to gamble when you get older. The way my game would get more intense as you play it is by colors and music and size. On the first level, all of your obstacles will be large and have solid colors with delightful music. Then going into more levels the obstacles will be smaller making it harder for the player to aim where he’s going, The colors of the obstacles would be transparent so that its harder for players to know where to move their character to, and the intense music that start to creep in makes it harder for the player to concentrate, this makes the player more nervous and gives anxiety every time he/she fails. Intensity is important in games or else they would be too easy, the easier the game is the more boring it gets. Although the game may get more frustrating every level you do, There are cash cups that the more competitive players get, however, to compete in cash cups you have to achieve level 30. This gives the player a better reason to not quit the game. Games can be very challenging but when they think about the fact of earning money from games it gives them a reason to not quit. My game will be Unique and I will make sure That it is different from others in many ways.

This dude got it under control

My mom told me to do my science work do on friday but its hard so I think Imma just do my two English assignments due on Thursday lol I'll get my phone quicker

Answers

Answer:

alright

Explanation:

may I get a free brainliest please lol?

Answer:

Nice lol I would do the same actually lol

Explanation:

What are some ways that a sequence can go wrong? How could you solve any communication issues? Do you think this can happen with a computer program?

Answers

Answer:

Yes, then often happens to me

Explanation:

Other Questions
helpppppppp meeeee plss 3) y = 4x + 24y = x + 9 Classify each of the following reaction as one of the 5 types: 2 Mg + O2 + 2 MgO O double replacement O decomposition O synthesis combustion O single replacement what element is [Kr]5s24d105p2 How many moles are in 64 grams of Ca(NO3)2 there are 12 students in a class who are preforming at the school concert . this represents 40% of the class how many students are in the class? Please help!! Solve for X The US presidential election of 1828 wasA.a close win for Andrew Jackson.B.a close win for John Quincy Adams.C.a landslide win for Andrew Jackson.D.a landslide win for John Quincy Adams. Is 4.259462364423... a rational or irrational number? Explain the role of the outer electron shell to ionic and covalent bonding. Please be detailed and provide and example. if an exothermic reaction takes place in an insulated container at the end of the reaction the temperature of the content of the container will All of the following are data providers included with .NET for accessing and manipulating data in databases, EXCEPT ____. Group of answer choices Lipids commonly contain fatty acids. What are the two parts of a fatty acid? Check the correct answers below. amino group long chain of carbon and hydrogen carboxyl group R group nucleotide 4.28 ounces - 4.82 ounces-2.85 ounces IS THIS THE WORK OF AN ENEMY STAND USER!!!!!!!insert JoJo reference A dog weighs 20% more than it did three months ago. It weighs 36 pounds now.How much did the dog weigh three months ago? Using activity-based costing, total overhead per unit of Great P model is (rounded to the nearest cent): $42.61. $45.99. $66.73. $61.32. How does the sun power the carbon cycle Name each polygon. Then tell if it's regular or not regular. if you play paintball for $8 for 30 minutes, how much will it cost you to play for 1 hour and 15 minutes?please hurry! will give brainliest