Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2) 1337 translator Write Java code Prompt the user for an input string, s. Print s in 1337 text with the following transformations: Original letter

2) 1337 translator

Write Java code

Prompt the user for an input string, s. Print s in 1337 text with the following transformations:

Original letter Replacement text --------------- ---------------- a @ b 8 c ( e 3 k |< l 1 n ^ o 0 t 7 x >< z 2

Transformations should be case insensitive (e.g., both 'e' and 'E' are replaced with '3' in the output).

Example: Input: The quick brown fox jumps over the lazy dog. Output: 7h3 qui(|< 8r0w^ f0>< jumps 0v3r 7h3 1@2y d0g.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions