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 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Multiple choice project create a program with two multiple choice questions. 1. users have two attempts only, show attempt number each time. hint: while loop with break control. (20%) 2. only one correct answer for each question, use switch case for each question. (20%) 3. show total score after the two questions are answered. hint: . (20%) 4. user have options to answer the two questions again if first attempt score is not 100%. hint: if statment. (20%) 5. use string method .toupper() to allow users to enter with lowercase or uppercase letters. (20%) 1. where is the capital of the state of florida? a. orlando b. tallahassee c. miami d. tampa b 2. where is walt disney world park located in florida? a. orlando b. tallahassee c. miami d. tampa a
Answers: 1
question
Computers and Technology, 24.06.2019 19:50
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
Technology has changed communications by replacing or supplementing traditional modes of communication that were primarily
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, 27.01.2021 02:00
question
Arts, 27.01.2021 02:00
question
Social Studies, 27.01.2021 02:00
question
Mathematics, 27.01.2021 02:00
Questions on the website: 13722360