Your program has too many errors to enumerate. You need to learn the basics (like you can't say Public instead of public; capitalization counts). Get a decent book and work through the examples.
hurbano commented: thanks for the help +1
tux4life commented: Nice advices to the OP ! :) +1
jephthah commented: yeah, that's it. +5
nucleon 114 Posting Pro in Training
vmanes commented: Good clear answer! +8