Write a program that initializes a string with Mississippi. Then replace all i with ii and print

Question:

Write a program that initializes a string with "Mississippi". Then replace all "i" with

"ii" and print the length of the resulting string. In that string, replace all "ss" with "s"

and print the length of the resulting string.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: