Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 ) Comment your code thoroughly. At minimum, include comments to indicate where the program requests user input, performs calculations, and outputs information to the
Comment your code thoroughly. At minimum, include comments to indicate where the program
requests user input, performs calculations, and outputs information to the user.
Prompt the user and store the input in variables for the following fields:
a Name
b Year of Birth as a year, eg
c Weight in kilograms
d Waistline in centimeters
Calculate the following:
a Age Current Year Year of Birth Use DateTime.Now.Year to obtain the current year.
b Bone Density Weight Age
c Body Fat Percentage Waistline Weight Weight
Display all the calculated information to the user. Ensure the output is wellformatted and
clearly identifiable as the result of your program's calculations.
Important!
This is an individual assignment. Students are not allowed to work together or seek help from
anyone including former S students. Any questions about the assignment should be sent to the
instructor or your TA If you are suspected of academic misconduct, you will be reported to the Dean
of Students AND receive a zero for the assignment.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started