Countdown to Halloween – 3 Days!!! I’m feeling “Tricky.”

The tricky feeling really has nothing to do with Halloween. It’s more school related.

The homework due at midnight tonight required creating a “card game” in Raptor that generated 1000 “random” numbers ranging between 1-52, classifying each number (based on range) as clubs, diamonds, hearts or spades, tallying how many of each suit was generated, and totaling each suit. Oh, and we have to run the program four times, and note the results of each run-through when we turn in the program, as well as whether the results were expected, and why/why not.

So far, on the first run through, which is over halfway through and taking f-o-r-e-v-e-r, diamonds are a girl’s best friend. Clubs and spades are fighting out second place, with hearts trailing.

That wasn’t exactly a “Rick Roll.” But kind of close. Trick or Treat?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s