Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. (15 marks) Write a program named Text Converter that prompts the user for a line of text and converts it according to the following

image text in transcribed
5. (15 marks) Write a program named Text Converter that prompts the user for a line of text and converts it according to the following chart: Character L Converted to: 1 3 E 4 5 G T 7 B O 00 O Enter some text (q to quit): Harry Potter, Ron Weasley, Hermione Granger H4rry P0773r, Ron W34513y, H3rmion3 6r4n63r Enter some text (g to quit): Lord Voldemort and Nagini 10rd vold 3m0r7 4nd N46ini Enter some text (q to quit): Mario and Luigi M4rio 4nd lui6i Enter some text (a to quit): End of program Your program must use a loop and cannot use String methods replace() or replace All (not covered in class)

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

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

Define marketing concepts.

Answered: 1 week ago

Question

1 what does yellow colour on the map represent?

Answered: 1 week ago