Professional Documents
Culture Documents
INDEX: 10098259
COURSE CODE: BITM301
COURSE TITLE: PROGRAMMING
SESSION: MORNING
ASSIGNMENT 3
The image below is the user interface of my calculator application which I named
Makafui Divine Gati-Kwashie. I created a textbox and 17 buttons which include
numbers from 0-9, operations such as addition (+), subtraction (-), multiplication (*)
and division (/) also a dot(.) to interpret decimal values, an equal to sign (=) and a
clear(C) button for clearing text in the textbox.
INPUT
After the design process, I proceeded to the form.vb where I was able to write the
codes for the various buttons and textbox.
Before my program will be able to run, I declared some variables with my initials
which is shown below:
Public Class Form1
When a user inputs two numbers i.e., MDGKfirstnum and MDGKsecondnum, and uses an
operation (+, -, *, /), an answer should be provided in the textbox. Example
MDGKfirstnum + MDGKsecondnum = output