1 Replies - 23520 Views - Last Post: 22 April 2007 - 02:56 PM Rate Topic: -----

#1 THE_RAM  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 30-March 07

Slot machine simulation program using Random numbers

Post icon  Posted 21 April 2007 - 11:53 AM

Could anyone help me with my slot machine simulation program. I have done most of the work; all except that I can't figure out how and where to make it calculate the jackpot and that when the user enters invalid coins coins it should keep on generating the error message and stop at any point when the sentinel value is entered and continue.

The question has been commented in the program code in the attached file.

Attached File(s)


Is This A Good Question/Topic? 0
  • +

Replies To: Slot machine simulation program using Random numbers

#2 k0rrup7  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 16-February 07

Re: Slot machine simulation program using Random numbers

Posted 22 April 2007 - 02:56 PM

Hey man!

First some things. You better make a separate class and demo program, this will help you organizing your programs more! Second of all, I've made a similar thing, but mine converts three numbers into characters, outputs them.

See attachment, I hope you can learn something from this! I'll try to look at your own program asap, but I just wanted to show you how you can make a good working slot-machine, if you ignore your assignment.

Greets.

See Link:

http://k0rrup7.110mb...SlotMachine.rar
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1