Yorkville High School Computer Science Department
Yorkville High School Computer Science Department on Facebook  Yorkville High School Computer Science Department Twitter Feed  Yorkville High School Computer Science Department on Instagram

Yorkville High School Computer Science

ASSIGNMENTS: House Builder - November 19, 2018 :: The Game - December 14, 2018 :: Pong - December 17, 2018

Computer Programming I :: Projects :: Times Table

Problem

Design a program that allows the user to input a starting number, an ending number, and a multiplier. The program will then count by ones from the start number to the end number, multiplying each one of the numbers by the multiplier. For example, if your starting number was 2, your ending number was 4, and your multiplier was 5 the result would appear in a ListBox like this:

2 * 5 = 10
3 * 5 = 15
4 * 5 = 20

Specific Requirements

  1. Write the steps of your algorithm and turn them in along with your finished program.
  2. Use a ListBox to display the results.
  3. Use labels to describe what should be in each TextBox.
  4. Use a for loop to print the results to the ListBox.
  5. The results should look like the following: 2 * 5 = 10. They should NOT simply contain the answer.
  6. All form components should clear whenever you start over.
  7. Determine a good name for each variable following the rules.
  8. Rename the form and all controls on the form.
  9. Add color, font styles, and at least one picture to make your program look nice.

Project Extension

Create four buttons that will change the operation from among multiplication, addition, subtration, and division. Make sure the multiplier label changes to addend, subtrahend, or divisor depending on the operation, and there should only be one button used to populate the ListBox. Do NOT use multiple buttons and simply change their visibility.

Tips

Yorkville High School Computer Science Department on Facebook Yorkville High School Computer Science Department Twitter Feed Yorkville High School Computer Science Department on Instagram