Page 1 of 1

!!! C PROGRAMMING !!! stdio.h, strings.h and stdlib.h allowed as a header files !!!Write a program to enter a text that

Posted: Fri May 20, 2022 6:11 pm
by answerhappygod
!!! C PROGRAMMING
!!! stdio.h, strings.h and stdlib.h allowed as a header
files
!!!Write a program to enter a text that has commas. Replace all
the commas with semi colons and then
display the new text with semi colons. Program will allow the user
to enter a string not a
character at a time.
Write a program to enter a text. Then enter a pattern and count
the number of times the pattern is
repeated in the text. Your program will read in a string not a
character at a time.

Sample test Run;

Enter string : She sells sea shells on the sea shore
Enter the pattern : sea

Pattern found 2 times

***Print ‘Pattern not found’ if pattern is not found.