Need Help with Java

General debate and discussion. (OOC)
Post Reply
Siesatia
ESUS Testicle Monster
Posts: 1155
Joined: Fri Sep 17, 2004 3:33 am
Prefix: The Unified Worlds of
Name: Siesatia

Need Help with Java

Post by Siesatia »

So yeah, I need help with Java... or rather my Girlfriend does, we're trying to make a calculator that doesn't use:

the program can have no loops (either for, do-while, or while). Your program can also have no math symbols(+, - , *, /, or %)


"How do you mod 2 numbers without using the mod symbol?"



The assignment is as follows:

Fill in the methods from the MathClass that will allow the program to add, subtract, multiply, divide, and mod two numbers. Initially, make the program work for two positive numbers. After you have that working you should make it work for negative numbers also. Don’t worry about negatives with the mod method
Dear god... No more 5 year old Signature...

Proud ESUS Member since '04
Post Reply