Syllabus

Home

Class Resources

News

CS-100 In-Class Project: Add Two Numbers

Instructions:

  1. Download the form shown above from here: Add Two Numbers
  2. Write Visual Basic instructions for the Click Event of the Go Command Button that:
    • Retreive the first number from the top text box.
    • Retrieve the second number from the second text box.
    • Compute the sum of the two numbers.
    • Place the sum into the third text box above.
  3. Your form must have three command buttons. One button to terminate the program, one to clear the "Sum" text box and one to initiate the calculation.