Question: Chapter 10, Programming Project 5 Java Project Name: IC23_HackerChallenge The netlingo.com site maintains a list of the Top 50 Popular Text Terms (Links to an
Chapter 10, Programming Project 5 Java Project Name: IC23_HackerChallenge

The netlingo.com site maintains a list of the Top 50 Popular Text Terms (Links to an external site.)Links to an external site. for text messaging and SMS, with both the acronym (e.g. PEBKAC) and its meaning (e.g. Problem Exists between Keyboard and Computer). Your job, for this hacker challenge, is to create a text file named Top50TextTerms.txt containing the 50 top text terms (acronyms only, no meanings).
Then create another file named Message.txt with a message which includes some of these acronyms. For example, ("IIRC, arrays are contiguously allocated collections of the same data type, making them very fast. Lol. TTYL.")
Write Java code that opens both Message.txt and Top50TextTerms.txt. Read each word in Message.txt. If it matches one of the acronyms in Top50TextTerms.txt, add brackets around it and write it to an output file named Output.txt. (for example, IIRC would become
So, the original message: "IIRC, arrays are contiguously allocated collections of the same data type, making them very fast. Lol. TTYL."
would be written to Output.txt as:
"
THESE ARE THE 50 TEXT TERMS
2moro 2nite BRB BTW B4N BCNU BFF CYA DBEYR DILLIGAS FUD FWIW GR8 ILY IMHO IRL ISO J/K L8R LMAO LOL LYLAS MHOTY NIMBY NP NUB OIC OMG OT POV RBTL ROTFLMAO RT THX SH SITD SOL STBY SWAK TFH RTM TLC TMI TTYL TYVM VBG WEG WTF WYWH XOXO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
