[Solved] CST140 Assignment 4

$25

File Name: CST140_Assignment_4.zip
File Size: 178.98 KB

SKU: [Solved] CST140 Assignment 4 Category: Tag:
5/5 - (1 vote)

5/5 – (2 votes)

Create a very simple four function integer calculator with buttons for Add, Subtract, Multiply, and Divide, and with two text-type input fields. When the user enters two numbers and clicks one of the buttons, the answer is displayed where shown.

Your program must use an alert to tell the user about any errors. The possible errors include:

-One or both input fields are blank

-One or both input fields < -9999 or greater than 9999

-Divide by zero

-llegal character in either input field.

Only 0, 1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9, and are allowed.

-You must include instructions to the instructor on

how to install the assignment. Do this in a

separate file named ReadMe.txt.

-Even though there are none in the example,

you must include instructions to the user.

-Once uploaded you cannot upload the assignment again unless reset by your instructor please take the time to do it right the first time!-Each file in the assignment must have a comment at the top, using the correct commenting technique for the file type, like this:Your NameYour Student IDCST140Assignment 4

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CST140 Assignment 4
$25