Hey hi bro nice code but i wanna u to work a few:
Use J2SE 6(SDK i meant)
Here i just show u how u can use ur Interger or double
I get ur string as u use s but after da convert into int or double wid nextInt or nextDouble,rewr ite ur prog after reding mine good luck see ya soon

[ code snipped; see next reply ]