CMPT110_Assignment01

CMPT110_Assignment01 - notes Then a Add a “Subtract”...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPT 110 – Homework 1 (1% of final grade) Due: Monday September 15 th , in class Late assignments will not be accepted. What to hand in: a print-out of your Visual Basic code, and a screenshot of your program as it’s running. To make a screenshot, press the Alt key and the Print Screen key on your keyboard at the same time, then open a word processor (like MS Word) and paste ( Ctrl+V on the keyboard, or Edit|Paste from the menu). 1. Start by making the basic adding calculator from the Variables
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: notes. Then: a. Add a “Subtract” button, and write the appropriate code to make it work like the “Add” button. b. Add a “Multiply” button and make it work, like above. c. Add a “Divide” button and make it work, like above. Your finished program should have two textboxes for input, one text box for outputting the answer, and four buttons (“Add”, “Subtract”, “Multiply”, “Divide”). The code should have four subroutines, one for each of the buttons....
View Full Document

This note was uploaded on 10/12/2011 for the course CMPT 110 taught by Professor Andrew during the Fall '10 term at Simon Fraser.

Ask a homework question - tutors are online