Learning Goal: I’m working on a java discussion question and need an explanation

Learning Goal: I’m working on a java discussion question and need an explanation and answer to help me learn.You must submit two separate copies (one Word file and one PDF file)using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format. It is your responsibility to check and make sure that you have uploaded both the correct files. Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets, convert text into imageor languages other than English or any kind of manipulation). You are advised to make your work clear and well-presented. This includes filling your information on the cover page. You must use this template, failing which will result in zero mark. You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question. The work should be your own, copying from students or other resources will result in ZERO mark. Use Times New Roman font for all your answers. 1.5 Marks Learning Outcome(s): Explain the basic principles of programming, concept of language, and universal constructs of programming languages. Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes. Question One Write a complete Java program that do the following:1. Print out your name in one line2. Print out your ID in one line3. Ask the user to enter his weight and height, thencalculate his Body Mass Index According to the following formula and displayhis BMI.BMI= Note:Your program output should lookas shown below. Note: you should Include the screenshot of the programoutput as a part of your answer. Otherwise,zeromarks will be awarded. 1.5 Marks Learning Outcome(s): Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes. Question Two Write a Java program that readstwo integers in two variables x and y and then permutes the value of the twovariables. Note: your program should look like this:Enter x: 2Enter y: 5The new value of the variable x is: 5The new value of the variable y is: 2Note: you should Include the screenshot of the programoutput as a part of your answer. Otherwise,zeromarks will be awarded. 2 Marks Learning Outcome(s): Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes. Question Three Write an application that calculates the squaresand cubes of the numbers from 0 to 10 and prints the resulting values in tableformat, as shown below. (Use the formatting for printing)Note:Your program output should lookas shown below.Note:you should Include the screenshot of the program output as a part of youranswer. Otherwise,zeromarks will be awarded.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount