subject

Develop an algorithm which will ask the user to enter a character in a string they would like to replace, and then to also enter the character they would like it replaced with. Use two variables called find and replace for the inputs.

The string which is being modified is already written for you.

Output the following information:

The original word is schoolbook
The character to be replaced is o
The character to replace it with is 0
The changed word is sch00lb00k
The items above in bold will vary depending on the input from the user

using System;

class Program{
static void Main(){
string originalWord = "";
originalWord = Console. ReadLine();

//Write your code below this line

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
You know the right answer?
Develop an algorithm which will ask the user to enter a character in a string they would like to rep...
Questions
question
Mathematics, 25.02.2021 23:40
question
Mathematics, 25.02.2021 23:40
question
History, 25.02.2021 23:40
question
Biology, 25.02.2021 23:40
question
Mathematics, 25.02.2021 23:40
question
Mathematics, 25.02.2021 23:40
Questions on the website: 13722360