File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Help with some Math please
Joined: Jul 11, 2005
Jun 19, 2010 10:52:23
I need some help.
Lets say im trying to code a simple game, where I have 4 random numbers, and the player has to:
1) Add, subtract, multiply or divide all 4 numbers with each other to get the number 21.
2) Number can only be used once.
How would i go about with that algorithm?
Thanks, have a nice day
javaNoob me = new javaNoob();<br />String i = "i";<br />i += "love java!";
Joined: Oct 14, 2005
Jun 19, 2010 18:38:45
This isn't applet-related, just a general Java question. So let's move it over there...
Joined: Sep 29, 2008
Jun 20, 2010 06:27:58
What have you tried/gotten so far?
I agree. Here's the link:
subject: Help with some Math please
style, linking, adding, swing
Auto Number----Entity beans
Auto Numbers SQL Server-------Entity bean
Nested Loop Counter
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014