Question: Design then implement a Java program that remove the 1 st three occurrences of the character m (capital or small) from string then print the
Design then implement a Java program that remove the 1st three occurrences of the character m (capital or small) from string then print the resulting string on the screen.
Here is a sample run of the program:
| Enter a string: Im a JaVa PrOgRaMmEr The new string is : I a JaVa PrOgRaEr
|
NOTE: Your program should work for any string having at least 3 m characters NOT ONLY the giving string in the example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
