Not much error checking. Any word beginning with o is a 1 etc.
But given the requirements to use a switch statement there probably isn't much choice.
You could add a test to see if the String...
Type: Posts; User: Norm
Not much error checking. Any word beginning with o is a 1 etc.
But given the requirements to use a switch statement there probably isn't much choice.
You could add a test to see if the String...
Its better to post the code so all can read vs attaching a file.
Can you tell us why you're not happy with the output from the program? Show the output and explain.