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, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
question
Computers and Technology, 22.06.2019 22:40
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
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
Biology, 22.07.2020 03:01
question
Chemistry, 22.07.2020 03:01
Questions on the website: 13722363