Write a program HollePrinter that switches the letters "e" and "o" in a string. Use the replace method repeatedly.
Demonstrate that the string "Hello, World!" turns into "Holle, Werld!".

homework help?

You need to show some kind of effort first.
Post what you have so far of code.

The idea of it is, you could use Arrays or to retype each letter with the correct statements.

Show some code before we start helping and tag your code please.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.