Programming Homework Help

IT 401 SEU Java Programming Questions

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now

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.

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: 2

Note: you should Include the screenshot of the program output as a part of your answer. Otherwise, zero marks will be awarded.

Q3

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.