Java programming
- or -
Post a project like this4254
$15/hr
- Posted:
- Proposals: 4
- Remote
- #166986
- Awarded
Description
Experience Level: Entry
Project can not use functions after java1.4.2
Write a program that simulates a simple calculator. The calculator has the ability to have two real numbers inputted and then:
multiply the two numbers
divide the first number by the second number (be sure to check for division by 0 and provide an error message if this occurs)
add the two numbers together
subtract the second number from the first number
Example: User inputs 10 and 5, Output would be:
Multiplied = 50, Divided = 2, Added = 15, Subtracted = 5
Write a program that simulates a simple calculator. The calculator has the ability to have two real numbers inputted and then:
multiply the two numbers
divide the first number by the second number (be sure to check for division by 0 and provide an error message if this occurs)
add the two numbers together
subtract the second number from the first number
Example: User inputs 10 and 5, Output would be:
Multiplied = 50, Divided = 2, Added = 15, Subtracted = 5
Martin S.
100% (2)Projects Completed
2
Freelancers worked with
1
Projects awarded
100%
Last project
4 Sep 2012
Canada
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies