Question
Write a program named TextConverter that prompts the user for a line of text and converts it according to the following chart: Character Converted to:
Write a program named TextConverter that prompts the user for a line of text and converts it according to the following chart: Character Converted to: L 1 E 3 A 4 S 5 G 6 T 7 B 8 O 0 Enter some text (q to quit): Harry Potter, Ron Weasley, Hermione Granger H4rry P0773r, R0n W34513y, H3rmi0n3 6r4n63r Enter some text (q to quit): Lord Voldemort and Nagini 10rd V01d3m0r7 4nd N46ini Enter some text (q to quit): Mario and Luigi M4ri0 4nd 1ui6i Enter some text (q to quit): Q End of program - Your program must use a loop and cannot use String methods replace() or replaceAll() (not covered in class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started