Find Jobs
Hire Freelancers

Mini-Calculator Debugging

$15-20 USD

Completed
Posted over 19 years ago

$15-20 USD

Paid on delivery
The MiniCalc application attached was designed to perform basic math calculations: +, -, *, /. However, in its present form, this application needs some improvements. What I would like is for a coder to do the following - 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 '[login to view URL]’ 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 ‘[login to view URL]’. 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 '[login to view URL]’ 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. Make sure to create a user-friendly interface to guide the user after the exceptions are handled. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Visual Basic .NET only.
Project ID: 3403276

About the project

3 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$1 USD in 8 days
5.0 (13 reviews)
2.2
2.2
3 freelancers are bidding on average $10 USD for this job
User Avatar
See private message.
$12.75 USD in 8 days
5.0 (148 reviews)
6.5
6.5
User Avatar
See private message.
$17 USD in 8 days
4.1 (4 reviews)
2.4
2.4

About the client

Flag of UNITED STATES
Tucson, United States
5.0
22
Member since Oct 12, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.