Its not clear what is the problem. The output is as follows (in part). Can you identify what you expect the output to be.
1
2
3
FIZZ
4
5
BUZZ
6
Type: Posts; User: atheedom
Its not clear what is the problem. The output is as follows (in part). Can you identify what you expect the output to be.
1
2
3
FIZZ
4
5
BUZZ
6
You can simplify substantially your code by using regular expressions.
String word = "&$t-o&$n(y)";
String ignore = "[~!@#$%^&*()_+-]";
word = word.replaceAll(ignore,...
There are two main considerations:
1. the data structure that stores the schools and subschools
2. the way to interact with the user.
1. The data structure.
Using enums is among a number of...
Have a look at the String and Character classes they have some useful methods.
For example you could use:
char result = num.charAt(pos);
to get the character at the given position and...