Please read the compile messages posted in post #3 above - your code just recapitulates the errors.
Type: Posts; User: copeg
Please read the compile messages posted in post #3 above - your code just recapitulates the errors.
Read those errors carefully, as they describe the problem pretty explicitly. For instance:
main is a method...where is its body? If you don't know what this means, see
Defining Methods (The...