Hello, I am trying to use the 'switch' statements but I'm having some problems:
The case choice > 6 won't work - I don't know how to make it work. If it is possible to make it work - Please help me. [ October 17, 2007: Message edited by: Christian Long ]
hi In switch statements,case declarations must be final values.We can only use int,char and short variables in case declarations and they must be declared as final keyword.
eg. if you put only 6 instead of choice>6,it 'll compile.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, the permaculture playing cards