Write a code segment that will analyze a numeric value


Write a code segment that will analyze a numeric value provided by the user to determine if he or she is short, average height, or tall. Make sure to include the following in your code:

· Display the message "Please enter your height in feet." to the user.

· Use the ReadLine() method to obtain a value from the user.

· Use the Parse() method to convert the user's value to an appropriate data type for numeric comparisons.

· Check to be sure the user entered a value greater than or equal to 0.0 and less than or equal to 8.0.

· Use ElseIf statements to determine whether a user is short, average or tall.

An input value of 0 up to but not including 5.0 feet is considered short. An input value of 5.0 up to but not including 6.0 feet is considered average height. Any height greater than or equal to 6.0 is considered tall.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a code segment that will analyze a numeric value
Reference No:- TGS0542151

Expected delivery within 24 Hours