Designing a full C#.Net Windows application program that will calculate and output the ideal weight of a person

Apr 18 2011 9:56 AM
the ideal weight for a woman is found by multiplying her height in inches by 3.5 and subtracting 108.  the ideal weight for a man is found by multiplying his height in inches by 4 and subtracting 128.

write a sub-procedure that will read in the height of a person and validate that this value is between 0.5m and 3m.
write a sub-procedure that will read in the gender and validate gender to be either M, m for male or F,f for female.
write a procedure to calculate and output the ideal weight of a person.

Answers (3)