The moose likes Bunkhouse Porch and the fly likes Head First Java!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Books and Education » Bunkhouse Porch
Reply Bookmark "Head First Java!!!" Watch "Head First Java!!!" New topic
Author

Head First Java!!!

RJ Espinoza
Greenhorn

Joined: Jan 10, 2003
Posts: 12
I would like to send out a big thank you to the authors. This is some right powerful learning!

I am new to programming and Java. I have practically no experience whatsoever.

Yesterday I was just about half way through the exercises at the end of chapter one when I started to think about applying what I had learned up to that point to make my own Lotto number generator. In less than an hour I was done.

This is what the output looks like when I run the program...


The first five Lotto numbers are
random numbers between 1 and 47.

The MEGA number is a random number
between 1 and 27.

Your Lucky Lotto Numbers are:
a. 33 38 27 04 43 MEGA 06
b. 36 08 26 14 23 MEGA 11
c. 36 38 32 05 15 MEGA 17
d. 35 24 02 23 17 MEGA 01
e. 04 23 11 16 10 MEGA 01


It's not the next "killer app" but for a newb like me it is a big step.

Thanks again!

P.S.
I will buy a $5.00 quick pick when the Lotto grows too high to resist. Now I generate my own $5.00 quick pick!
[ June 02, 2004: Message edited by: RJ Espinoza ]
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8439
That's fantastic ! We hope you'll give us some small portion of your winnings


Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
 
 
subject: Head First Java!!!
 
Threads others viewed
Query problem with MySQL 5
how to compare the values in arrays
Problem moving columns and rows in 2D array.
Need help with Project Euler algorithm
Project Euler problems with Scala
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture