Learning Goal: I’m working on a java multi-part question and need an explanation
Learning Goal: I'm working on a java multi-part question and need an explanation and answer to help me learn.q1 Write a complete Java program that do the following: 1.Print out your name in one line 2.Print out your ID in one line 3.Ask the user to enter his weight and height, then calculate his Body Mass Index According to the following formula and display his BMI. BMI = Note: Your program output should look as shown below.q2 Write a Java program that reads two integers in two variables x and y and then permutes the value of the two variables. Note: your program should look like this: Enter x: 2 Enter y: 5 The new value of the variable x is: 5 The new value of the variable y is: 2q3 Write an application that calculates the squares and cubes of the numbers from 0 to 10 and prints the resulting values in table format, as shown below. (Use the formatting for printing) Note: Your program output should look as shown below

Leave a Reply

Your email address will not be published. Required fields are marked *