Lab Assignment

Write a function void count_replace_item(char s[], char char_to_replace, char replacement) The function replaces all occurances of char_to_replace with replacement character.

For example, if the original array is:
WeLoveProgramminginClanguage
char_to_replace is g
replacement char is *
The new array will be: WeLovePro*rammin*inClan*ua*e

You can use scanf to read the string or the function we wrote on Monday

Write main to test your program. The main should print original array, char to replace and replacement and the new array after replacement was done