[SOLVED] CSE110-Mod 4 Text Slang

20.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

You need to write a program that will repeatedly ask a user to enter a text slang term and display the term’s meaning. When the user enters TTFN, your program should display its meaning and then stop.

Your program must convert the term to upper case before looking up its meaning to ensure that BRB, brb, and BrB are all treated the same way. Your program must use a single switch statement with multiple case statements to translate the slang terms. A switch/case statement can use a String type for the switch variable, and String literals (e.g. “BRB”) for the cases.

Your program should provide meanings for the following:

  • BRB: Be Right Back
  • FOMO: Fear Of Missing Out
  • IDK: I Don’t Know
  • IRL: In Real Life
  • JK or J/K: Just Kidding
  • LOL: Laughing Out Loud
  • TTFN: Ta-Ta For Now
  • TTYL: Talk To You Later
  • YOLO: You Only Live Once

If your program understands the term such as BRB, it should display a message like:

BRB means Be Right Back

If your program does not recognize the term such as CSC4EVR, it should display the meaning as “something I don’t know” such as:

CSC4EVR means something I don’t know

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.