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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!