this is what I wrote . . . . please tell me what's wrong in this :
To begin with, you have a fairly basic syntax problem to fix before you can get anywhere. "main" is a method and therefore must be followed by parentheses. It must also be defined to accept a single array of Strings as its only parameter.
Please don't post working solutions, as others might have the same assignment. While you guys found the problem, it is up to the OP to fix it. We are here to guide and prod in the right direction, but we are not supposed to give out something they can copy, paste, and turn in. Thanks for your time.