Solution steps:
This problem is a simple problem just follow the stapes
1. get a character and check the character is " or not
2. if the character is " then check is it first or second time
3. if first time then replace " by `` and
4. if second time then replace it by '' and print this character
(N.B: if get second time then next " is first time)
5. otherwise print the character without any change
This problem is a simple problem just follow the stapes
1. get a character and check the character is " or not
2. if the character is " then check is it first or second time
3. if first time then replace " by `` and
4. if second time then replace it by '' and print this character
(N.B: if get second time then next " is first time)
5. otherwise print the character without any change
No comments:
Post a Comment
Write your comment - Share Knowledge and Experience