Programming does not always happen smoothly, sometimes a lot of patience, devotion and perseverance are required to solve programming problems and stumbling blocks on your way of creating a new programming solution.While developing an application you might come across a number of programming questions the answers to which are not easy to be found. To spare yourself the trouble, submit your programming questions here and you will get programming answers within the shortest time period.

Write a program that prompts the user to enter a weight in pounds and height in inches and

display the Body Mass Index. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters.

Where:

BMI Interpretation

below 16 seriously underweight

16–18 underweight

18–24 normal weight

24–29 overweight

29–35 seriously overweight

above 35 gravely overweight

display the Body Mass Index. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters.

Where:

BMI Interpretation

below 16 seriously underweight

16–18 underweight

18–24 normal weight

24–29 overweight

29–35 seriously overweight

above 35 gravely overweight

What are parameters for? What is the difference between formal parameters and actual parameters? Give an example in Java code that illustrates formal parameters and actual parameters.

Write a program that prompts the user to enter the month and year and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program should display that February 2000 has 29 days. If the user entered month 3 and year 2005, the program should display that March 2005 has 31 days.

Write a program that sorts three integers. The integers are entered from the user input and stored in variables num1, num2, and num3, respectively. The program sorts the numbers so that num1<=num2<=num3.

: Write program that prompts the user to input a positive integer. It should then output a message indicating whether the number is a prime number. (Note: An even number is prime if it is 2. An odd integer

is prime if it is not divisible by any odd integer less than or equal to the square root of the number.)

is prime if it is not divisible by any odd integer less than or equal to the square root of the number.)

display the Body Mass Index. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters.

Where:

BMI Interpretation

below 16 seriously underweight

16–18 underweight

18–24 normal weight

24–29 overweight

29–35 seriously overweight

above 35 gravely overweight

Write a program that prompts the user to enter an integer. If the number is a multiple of 5, print

HiFive. If the number is divisible by 2, print HiEven.

HiFive. If the number is divisible by 2, print HiEven.

in the game of contract bridge, each of four players is dealt 13 cards, thus exhausting the entire deck. modify the cardaray program given in chapter 7 arrays and strings (by robert lafore) after shuffling the deck, it deals four hands of 13 cards each. each of the four players’ hands should then be displayed.

In the game of contract bridge, each of four players is dealt 13 cards, thus exhausting the entire deck. Modify the CARDARAY program given in Chapter 7 Arrays and Strings (by Robert Lafore) after shuffling the deck, it deals four hands of 13 cards each. Each of the four players’ hands should then be displayed.