Lab 09: C# Methods CNIT 15500 Fall 2011 Prof. Harriger Due: Monday, 11/14/11, 10 pm 10 Points Description You are going to enhance your past programs by implementing helper methods. To get full credit for the in-lab, you will demonstrate the working application to your instructor as well as show the code, complete with comments following class standards. In-Lab Activity We will revise the BMI table program created for last week’s in-lab by employing a few helper methods: • Create a data validation helper method that is called to ensure that height and weight are acceptable numbers. • Create a helper method that returns the weight status. It should have three parameters: height, weight, and the computed BMI (which is returned). Your table will display the weight increment, BMI, and weight status in a listbox. Lab Homework For homework, you will revise your lab 7 program for the best fuel to purchase for a flex fuel car as follows: • Add a helper method to perform an existence check, data type check, range check, and
This is the end of the preview. Sign up
access the rest of the document.
This note was uploaded on 02/21/2012 for the course CIT 155 taught by Professor Lutes during the Fall '10 term at Purdue.