Fill This Form To Receive Instant Help
Homework answers / question archive / 1) Write a java program that asks the user for two numbers, then outputs if both those numbers are even, both are odd or only one of them is even
1) Write a java program that asks the user for two numbers, then outputs if both those numbers are even, both are odd or only one of them is even. 2. Write a program that reads the name, weight and height of a patient. Then the program outputs if the patient is under weight, average or over weight. The calculation is done according to the following formula: BMI = weight/height', where height is considered by meters. BMI < 20 Underweight BMI between 20 and 25 Average BMI > 25 Over Weight 3. Write a program that asks the student for his name and the month in which he/she was born. Students are then divided into sections, according to the following: Section A: Name starts between A - E Born between months 1 - 6 Section B: Name starts between F - L Born between months 1 - 6 Section C: Name starts between M - Q Born between months 7 - 12 Section D: Name starts between R - Z Born between months 7 - 12