Write a program, that uses three separate functions, to capitalize the first character of each word in a given phrase, insert a “:” separator symbol between every third word and replace any “!” exclamation or “?” by a period “.”, respectively. To do this, you will need to detect the beginning of a new word. You may also need to create intermediate or temporary strings to allow for insertions. Do not use any of the string functions other than size, length, clear or the [ ] operator.
Using these strings:
s1 = “just gonna stand there and watch me burn! but that's alright because I like the way it hurts!”
s2 = “can't you taste this gold?”
s3 = “can we pretend that airplanes in the night sky are like shooting stars?”
Can anyone break this down it terms of a sort of psuedo code?
For instance,
Pseudo code:
decalre vairable x
decalre variable y
declare variable sum