Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# I need help completing this program. Thank you! Your Task Recreate the FitTracker application provided. This application computes a user's body mass index, displays

C#

I need help completing this program. Thank you!

image text in transcribedimage text in transcribed

Your Task Recreate the FitTracker application provided. This application computes a user's body mass index, displays weight status, and determines approximate calorie requirements based on activity level. Your weight is in the optmal range. You requie approvimately 1610 cabctes to maintain your cument. weight. Body Mass Index The formula for calculating a body mass index is: BMI=height2weight703 Use doubles to avoid integer division. Recall that you will have to parse the user's input from the text boxes before plugging into the formula (example: height = double.Parse(txtHeight.Text);) In addition to displaying the user's BMI to one decimal digit, your program should use an if/else structure to display the weight status according to these values: Calorie Requirements Calorie requirements should be computed as follows: Recall that we can assess a radiobutton's status via its "Checked" property, which is a Boolean (i.e., true/false) property. if (radSedentary.Checked) .. This will also work: if ( radSedentary. Checked == true) Clear Button The clear button should reset the controls to their starting state. To clear a textbox, call that object's Clear() method. For labels you can call the ResetText() method. Set the Sedentary radio button's Checked property to true. Examples: txtHeight.Clear(); IbIBMI.ResetText0; radSedentary.Checked = true

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions