CNIT155Lab07-CSharpDecisions

CNIT155Lab07-CSharpDecisions - Lab 07: C# Decisions CNIT...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab 07: C# Decisions CNIT 15500 Fall 2011 Prof. Harriger Due: Monday, 10/31/11, 10 pm 10 Points Description You are going to create a few calculators for lab 7 that you can compare to the calculators you created in Scratch for lab 4. 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 create a BMI (body mass index) calculator. The program will get the values for height and weight from the user to compute the BMI value using the formula: After thorough data validation, your program will compute the BMI. Based upon the resulting BMI, the weight status is determined by the range into which the BMI falls: Your program will display the BMI, weight status, and suggested advice. Lab Homework For homework, you will create a calculator that will advise the user on the best fuel to purchase for a flex-fuel car. Design a form that allows the user to provide data for:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to 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 University.

Page1 / 2

CNIT155Lab07-CSharpDecisions - Lab 07: C# Decisions CNIT...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online