subject

Here is the problem: "Here is an example of going past the bounds of a string. This code should double all but the first and last letter in message. Fix the code so that it doesn’t cause an out of bounds an error." And the code given is in the screenshot. When it runs, it runs infinitely. I tried changing pos+2 to +1, which ended up printing just "watch out" (as it should). But I'm not sure how to double all the letters besides the first and the last. Help is much appreciated, this is extremely time sensitive lol (due tomorrow)


Here is the problem: Here is an example of going past the bounds of a string. This code should dou

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
People should never use telepresence when virtually meeting with a group of co-workers. true false
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
He computer component that disperses heat from the microprocessor to the cooling fan is a cooler thermometer heat sink
Answers: 1
question
Computers and Technology, 25.06.2019 07:30
The can be used to paste text in any order.
Answers: 1
You know the right answer?
Here is the problem: "Here is an example of going past the bounds of a string. This code should doub...
Questions
question
Mathematics, 13.12.2019 14:31
question
Mathematics, 13.12.2019 14:31