dvsConcept 0 Light Poster

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 :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.