Lukket

Mini Calculator

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 '[url removed, login to view]’ 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 ‘[url removed, login to view]’. 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 '[url removed, login to view]’ 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 will also require some other questions answered completely for a debugging scenario. It is not too difficult. The questions will be posted to the selected coder.

## 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 Basic .NET 2003 (VB.NET '03)

Evner: .NET, Ingeniørarbejde, Microsoft, MySQL, PHP, Software Arkitektur, Software Testning, Visual Basic, Windows Skrivebord

Se mere: what need for an operator, what is test scenario, vb.net calculations, test scenario, code 999, calculator program in php, vb short work, test case, need a net operator, math basic, basic free test, fix zero divide error, mini program, complete calculation test, visual basic problem, free catch, test cases system, calculator php program, code calculator, short paragraphs questions

Om arbejdsgiveren:
( 35 bedømmelser ) United States

Projekt ID: #3184972

5 freelancere byder i gennemsnit $9 på dette job

sawamu

See private message.

$8.5 USD in 2 dage
(215 bedømmelser)
5.9
uknight

See private message.

$8.5 USD in 2 dage
(18 bedømmelser)
3.2
digammavw

See private message.

$11.05 USD in 2 dage
(4 bedømmelser)
0.9
mascotindiavw

See private message.

$8.5 USD in 2 dage
(1 bedømmelse)
0.0
bataavw

See private message.

$8.5 USD in 2 dage
(0 bedømmelser)
0.0