| |
Lab 9: Loops
Page history
last edited
by Mr. Kretsch 5 months, 2 weeks ago
Pilot: ______________________________________________
Objective:
Loops
Instructions
- Create a new project called Loops
- Your project's form should have a text box, two labels, and two buttons.
- 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.
- 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 |
|
5 |
|
| Factorial loop |
|
5 |
|
| Total |
|
10 |
|
Notes
Lab 9: Loops
|
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.