954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Slot Machine program question

i have this program generating 3 numbers and i don't know how to take those 3 numbers (i.e. 777) and applying that to a switch/case like...

switch(landing)
{
case 'a'://777
//calculation will go here
break;
case 'b'://666
//calculation will go here
break;
///and so on and so on!

}


don't think i want you to do my homework but i truly cant figure out how to go about this...sorry :)

dvsConcept
Light Poster
39 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You