dcsimg
The Amateur Poetry Club is currently running a competition for primary school children. Entries are evaluated as follows:
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lephethesang_Dieko
Posted On:   Saturday, September 14, 2002 04:57 AM

1. Alliteration: consecutive words beginning with the same letter constitutes alliteration, e.g.: wonderful world, bright boy, Points awarded: 2 words = 2 points, 3 words = 4 points, 4 words = 8 points, etc. 2. Palindrome: words reading the same backward as forwards are palinromes, e.g.: madam, nun, sees. Points awarded: 5 points 3. Sentences reading the same backward as forward, e.g. Tracy loves Allen and Allen loves Tracy Points awarded: 12 points. Write a java application (Object Oriented style) to solve the above application. A user must be able to input a poem, one line at a time, and you program must display a running total of the points accumulated. Your program must also allow the user    More>>

1. Alliteration: consecutive words beginning with the same letter constitutes alliteration, e.g.: wonderful world, bright boy,
Points awarded: 2 words = 2 points,
3 words = 4 points,
4 words = 8 points, etc.


2. Palindrome: words reading the same backward as forwards are palinromes, e.g.: madam, nun, sees. Points awarded: 5 points
3. Sentences reading the same backward as forward, e.g. Tracy loves Allen and Allen loves Tracy
Points awarded: 12 points.

Write a java application (Object Oriented style) to solve the above application. A user must be able to input a poem, one line at a time, and you program must display a running total of the points accumulated. Your program must also allow the user to clear the current total and start entering a new poem.



Please use html tags to format code blocks.

   <<Less

Re: The Amateur Poetry Club is currently running a competition for primary school children. Entries are evaluated as follows:

Posted By:   Simon_Ablett  
Posted On:   Monday, September 16, 2002 05:21 AM

Please wait whilst I stop laughing...not!!!

There seem to be a lot of people, such as yourself, out there who seem to think that they can get Java Certification off the backs of other people's work. It's not doing either yourself or your prospective future employees any favours and is incredibly annoying to the rest of us.

Regards
About | Sitemap | Contact