subject

Jump to level 1 Given a string, an integer position, and a character, all on separate lines, find the character of the string in that position and
replace it with the character read. Then, output the result.

Ex: If the input is:

warn
0
e

the output is:

earn

Note: Using a pre-defined string function, the solution can be just one line of code.

I am looking for the code for C++ NOT Python. Thanks

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
How is a wan different than a lan? both connect computers, but only wan users don’t need the same operating system. both are peer-to-peer networks, but only a wan requires networking hardware. both network computers, but only a wan can cover larger geographical ranges. both connect computers to the internet, but only wan connects to the cloud.
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
Why was it important for the date format to be standardized by the international organization for standardization
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
The study of how to design software, solve problems such as computer security threats, or come up with better ways of handling data storage
Answers: 1
You know the right answer?
Jump to level 1 Given a string, an integer position, and a character, all on separate lines, find...
Questions
question
Spanish, 22.10.2020 04:01
question
Arts, 22.10.2020 04:01
question
English, 22.10.2020 04:01
Questions on the website: 13722359