MAS962 Problem Set 1

Bill Keays

Problem 1 Problem 2 Problem 3
As this was my first Java programming experience ever, I deemed that the only realistic objective I could have in this exercise would be to meet all the requirements in a succinct fashion. Problem 2 meets the basic specification precisely. Problem 3 does more by accepting numeric values to amplify the number of times and number of lines on which a word is printed. All non-alphanumeric characters including punctiation are treated as the exception and generate a message. Nothing fancy here, but nevertheless a complete and successful solution.