CNIT155Lab09-CSharpMethods

CNIT155Lab09-CSharpMethods - Lab 09: C# Methods CNIT 15500...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
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
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.
Ask a homework question - tutors are online