Someone can help me in this, Lab 1 Body Mass Index (In class) CSCI 251
Lab 1 - Body Mass Index (In class) CSCI 251 Problem Statement Create a program to calculate a person's body mass index (BMI). Input Data Height, in feet and inches . Weight, in pounds . Output Data . The input data, echoed .Body mass index, dimensionless Before You Begin 1. On your flash drive, create a folder called MATLAB programs. 2. Start MATLAB (Start> All Programs > MATLAB R2017a) and change your Current Folder to EIMATLAB programs/ (or whatever drive is assigned to your flash drive) If you forget to do this, your MATLAB program will only be accessible from the computer you are currently on. 3. In the Command Window, type edit bmi yourLastName.m The bmi yourLastName.m file should open in the editor window. If MATLAB should prompt that the file does not currently exist, you did not change the folder as instructed in 2 above. Starting File Include header comments (ie., at the beginning of your file) formatted as shown below. Your electronic submission of the program file will represent your endorsement of the Honor Code Statement. % Course: CSCI 251 . Section X % Student Name: Jane Doe % Student ID: 12345678 %Lab 1 in class % Due Date: % In keeping with the Honor Code of UM. I have neither % given nor received assistance from anyone other than the instructor % Program Description: Algorithm clc clear 1. Begin your program with to clear the Command Window and Workspace windows, respectively Prompt (ask) the user for his/her height in feet. If you were prompting for the variable x, for example, you would type: x = input(text goes here'); You should CHOOSE an appropriate variable name such as height or ht. Also, in the Command Window, type help input how to read more details on how to input from the keyboard. 2. 3. Prompt the user for his/her additional height in inches. Use the input command. 4. Prompt the user for his/her weight in pounds. Again, use the input command. 5. Compute height using the overall height in inches, as