PDA

View Full Version : Basic Calculator



shanezz
04-29-2007, 06: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.

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

Twey
04-29-2007, 10:57 PM
Moved.

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.

mburt
05-02-2007, 01: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".

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

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

allahverdi
08-09-2007, 06: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:

Twey
08-09-2007, 06: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)

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

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