Can someone help with this ? Create a Java program that uses a loop for • Reads from the console the names, weight in kg and height in meters of several people (use the cycle for, save the data in...


Can someone help with this ?


Create a Java program that uses a loop for

• Reads from the console the names, weight in kg and height in meters of several people (use the cycle for, save the data in simple variables)

• Calculates the body mass index with the formula:  BMI = weight in kg. (height in meters) 2

• Displays the results on the screen and in the file as a table (use printf)



Name  Weight, kg  Height, m ​​  BMI

Ivan        72              1.86            …

Nina       56              1.62            ...



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here