Syllabus

Home

Class Resources

 

CS-100 In-Class Project: Add Two Numbers

Instructions:

  1. Download the project file shown above from here: Add Two Numbers (ZIP File)
  2. Write Visual Basic instructions for the Click Event of the Go 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 will have three buttons. One button to terminate the program, one to clear the "Sum" text box and one to initiate the calculation.
  4. Modify the form by adding another text box so that you can calculate the sum of three numfbers