Alliteration
Alliteration
Alliteration
The sentence should contain a minimum of 3 words and maximum any number of words. For a
minimum of three words, a score of 2 is given. Each additional word gets a score of 2.
Develop a Java application to check the rules of the game and print the score as given in the
sample input, output.
Note:
In the Sample Input / Output provided, the highlighted text in bold corresponds to the input given
by the user and the remaining text represents the output.
Sample Input 1
Sample output 1
Sample Input 2
Sample output 2
Sample output 3
Sample Input 4
Sample output 4
No score