Question: TUTORIAL/EXERCISE: Stream File 1. Write the following program: a. Create a program for calculating the BMI for 10 students by asking the student's weight (in

 TUTORIAL/EXERCISE: Stream File 1. Write the following program: a. Create a

TUTORIAL/EXERCISE: Stream File 1. Write the following program: a. Create a program for calculating the BMI for 10 students by asking the student's weight (in Kg ) and height (in meter). Save the BMI using array. b. Identify BMI status either: a. Overweight if BMI more than 22 b. Ideal if BMI is around 1822 c. Underweight if BMI less than 18 c. Save the data into text/data file as show below: student_bmi_status.dat 1 BMI student 1:19.5312 Ideal 2 BMI student 2:23.4375 0verweight 3 BMI student 3:24.3141 0verweight 4 BMI student 4:26.6667 0verweight 5 BMI student 5:19.3772 Ideal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!