A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 one year ago
I need to a java 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
anonymous
 one year ago
I need to a java 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

This Question is Closed

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0You are still welcome to help......

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0So, what problems are you having? Do you need to build this with a GUI or is command line just fine?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0just the command line

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0you know how to get user input and do computation right?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0Here you go. https://www.google.com/webhp?sourceid=chromeinstant&ion=1&espv=2&ie=UTF8#q=tutorial+console+java+calculator

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0That link should get you going

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0but I need more help when actually debugging my illiteracy in computing

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0are you required to catch user input error?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0Any omnipotent superduper intellectuals willing to walk me along?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0then you have to #1: check if input is a float/int , #2: check its a not divide by 0

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0i dont do java but the concept is similar with other programming languages

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0try drawing a flowchart then think where might go wrong and where to do you need user input and types of input

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0Would be nice if openstudy had an edit feature....

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0then you have to think about how your users is going to choose his operations

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0I improved the program from Nixy's link and it's working exactly as the requirements specify. XD Thanks all
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.