Snipplr
http://snipplr.com/language/java/tags/number
Recent snippets posted on Snipplr.com
enus
Thu, 21 Sep 2017 17:29:11 GMT

(Java) Find Pairs of Numbers  rikesh_kisnah
http://snipplr.com/view/74585/findpairsofnumbers/
Write a code that will find the sum of any pairs of numbers ]]>
Fri, 16 May 2014 15:00:50 GMT
http://snipplr.com/view/74585/findpairsofnumbers/

(Java) Multiplication of large numbers (MultiplicaciÃ³n de nÃºmeros grandes)  josepino
http://snipplr.com/view/52057/multiplicationoflargenumbersmultiplicacindenmerosgrandes/
An example of Karatsuba algorithm for multiplication of n digit numbers. ]]>
Thu, 14 Apr 2011 13:23:23 GMT
http://snipplr.com/view/52057/multiplicationoflargenumbersmultiplicacindenmerosgrandes/

(Java) PC Guesses Remembered Number  Sverri
http://snipplr.com/view/39700/pcguessesrememberednumber/
The player selects a range from 0 to n, remembers a number in this range and then the script asks the player a question trying to guess the number. The PC will always guess the correct number.\r\n\r\nI could have added more varied questions, but the task did not state it had to be interesting, and being a lazy creature I took the path of least rÃ©sistance. ]]>
Mon, 30 Aug 2010 16:05:35 GMT
http://snipplr.com/view/39700/pcguessesrememberednumber/

(Java) Random Integer between 1 and n  joshnunn
http://snipplr.com/view/18904/randomintegerbetween1andn/
This was an example provided for us to generate a number between 1 and n. The URL included was the best explaination I could find. Substitute any number in place of the 1 for a different starting number. Take the starting number from your highest number, and plug that into n for a different range. ]]>
Thu, 27 Aug 2009 06:11:26 GMT
http://snipplr.com/view/18904/randomintegerbetween1andn/

(Java) generateNumber  The_Englishman
http://snipplr.com/view/2581/generatenumber/
]]>
Wed, 02 May 2007 10:53:13 GMT
http://snipplr.com/view/2581/generatenumber/

(Java) Java prime number generator  gdonald
http://snipplr.com/view/1225/javaprimenumbergenerator/
]]>
Wed, 27 Sep 2006 10:57:06 GMT
http://snipplr.com/view/1225/javaprimenumbergenerator/