Prelab05 - b. Then check for valid range. If score is...

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

View Full Document Right Arrow Icon
CNIT 175 Prelab05 Objectives: Data Validation, o Type check o Range Check Program : Develop a VB project; let the user enter a lab score, and click on a Button to display the student’s performance in the output Label. PDLC : Go through the steps of PDLC to design the GUI and write the code for this problem. Processing Button: 1. Validate the input data: a. First check if the input data is a whole number (use TryParse). If it is not, i. Inform the user, and set the cursor to the TextBox.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b. Then check for valid range. If score is outside the range of 0 10, i. Inform the user, and set the cursor to the TextBox. 2. Process the valid input: if score is greater than or equal to 7, display: You did a good job. Otherwise display: Work harder. Set Break Points in your program to view the step by step execution of your program. Test your program with all kinds of invalid / valid data....
View Full Document

Ask a homework question - tutors are online