Question: PLEASE WRITE CODES IN C#, USING windows forms app (.net framework) /* * Use Try Catch to handle exceptions in the input data * Calculate
PLEASE WRITE CODES IN C#, USING windows forms app (.net framework)
/* * Use Try Catch to handle exceptions in the input data * Calculate height in inches: height in inches = feet * 12 + inches * Calculate the BMI given weight (pounds) and height (inches) using the following formula: * BMI = weight * 703 / height squared * * Display BMI to 2 decimal places * * Reset button - clear all inputs and outputs and place the cursor at textbox1 * Exit button - exit the application */ 
Body Mass Index (points allocated: 24, 3, 1) o button Calculate BMI o get inputs from the textboxes; use Exception Handling to make sure that weight and height entered are numbers (note that as of now, we are not working on the data within a valid range. That comes next after the midterm.) o create another variable to calculate height in inches, height in inches = feet * 12 + inches o calculate BMI using the formula given (formula shown in the textbook and written out in the comments) o display BMI in the output label (label4) to 2 decimal places. o button Reset clear the input textboxes and output labels, set the focus on the first textbox o button Exit - exit the application o Here is an example of a website where you can check your BMI calculation Body Mass Ind... Your Weight 165 Pounds Your Height 5 10.51 Inches Feet Your BMI is 23.34 Calculate BMI Reset Exit Body Mass Ind... X Your Weight 19) Pounds Your Height 5 11 Inches Feet X Data error in Pounds and/or Feet and/or Inches OK
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
