Mini Calculcaltor Class Project

Dokončeno Zveřejněno Apr 25, 2004 K zaplacení v momentě doručení
Dokončeno K zaplacení v momentě doručení

The attached MiniCalc application was designed to perform basic math calculations: +, -, *, /. However, in its present form, this application needs some improvements. 1. Test all operators with the values 8 and 2 to make sure it works as expected. 2. Test the program with 99999 + 99999. This should raise a 'System.OverflowException&' exception. 3. Modify the code to catch and handle the exception so that the user can continue. KEEP the declarations of FirstNum and SecondNum as short. 4. Test the program with ‘9 divide 0&'. The result shows ‘infinity&'. Actually, the calculation should raise an exception ‘System.DivideByZeroException&'. Modify the program so that the user input is validated before the divide operation is performed. For a divide by zero, modify the program to raise an exception, then add the code to handle the exception. 5. Try the test (99 * 999). You should get a 'System.OverflowException&' exception. Fix the problem to handle the exception. 6. Now test the '-' operator using the following test cases: (1) variable1 = 32000 and variable2 = -767 and (2) variable1 = 32000 and variable2 = -768. For the first test case, the result should be 32767. For the second test case, you should get an exception. Explain what is different from the first case and fix the problem to handle the exception. 7. Lastly and most importantly I need a user-friendly interface to be created to guide the user after the exceptions are handled. Requirements: Error free program and 2-4 paragraphs explaining the issues. Please note: I actually need this done before 12AM CST today 4/25/04. If you can do a good job and do it before this deadline then PLEASE bid for this auction and help me out. I would appreciate it very much.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) I need an error free program and for you to tell me what is different from the first case.

## Platform

Visual [url removed, login to view] 2003 (VB.Net 03)

PHP

Identifikační číslo projektu: #3187994

O projektu

2 nabídek Projekt na dálku Aktivní Apr 26, 2004

Uděleno uživateli:

powermacstudio

See private message.

$17 USD za 1 den
(6 recenzí)
1.4

2 Freelnceři na tento projekt zveřejňují nabídky v průměru $17

leadervw

See private message.

$17 USD za 1 den
(13 Recenzí)
1.7