View Full Version : Basic Calculator

04-29-2007, 05:28 PM
Ok im really hopeless with Java and i could really do with some help, i have to do a basic calculator with Java that contain two integer fields and an array,results. It should be capable of adding 2 numbers, subtracting 2 numbers, dividing 2 numbers, and multiplying 2 numbers, and giving the remainder after division of the two integer numbers, any help would be greatly appreciated, thank you very very much.

04-29-2007, 09:35 PM
Wrong forum - move to Java

04-29-2007, 09:57 PM

shanezz, we'd be happy to help, but we're not doing it for you. Get started, and we'll give you hints if you hit problems.

05-02-2007, 12:36 AM
Erm... The term Java and Javascript are oftenly confused by people, I think this may meant to be a Javascript program. Then again, the OP could have really meant "Java".

05-02-2007, 03:23 PM
Nope, note "integer fields." Javascript has no integer type.

05-02-2007, 06:09 PM
Oops, my mistake, sorry.

08-09-2007, 05:27 AM
Really i wanna learn Java and Javasxript but cant :confused:
because the tutorials aren't very good but if you have some script with explaian please give me them
i really want to start a project in JavaScript
so.... Waiting your scripts:rolleyes:

08-09-2007, 05:34 AM
Java and Javascript? They're very different languages, you know. You want to learn both at once?

Java tutorials (http://java.sun.com/developer/onlineTraining/)
Javascript tutorial (http://www.howtocreate.co.uk/tutorials/javascript/important)

08-09-2007, 06:09 AM
no i want to learn first javaScript then java

P.S. I know that the java and javascript are different languages