View
 

Lab 9: Loops

Page history last edited by Mr. Kretsch 5 months, 2 weeks ago

Pilot: ______________________________________________

Objective:

Loops

Instructions

  1. Create a new project called Loops
  2. Your project's form should have a text box, two labels, and two buttons.
  3. If the user clicks one button, run the loop on page 5 of the notes that continually uses an input box to get a number from the user. When the user enters -1, quit the loop and display in the two labels the sum and count of the numbers.
  4. If the user clicks on the second button, run the loop on page 6 of the notes that displays in a label the factorial of the number in the text box.

Grade

Feature  Points  Out of  Notes 
Counter loop     
Factorial loop   5  
Total   10  

 

Notes

 
 
 
 
 

 

 

Comments (0)

You don't have permission to comment on this page.