!!! 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.
!!! C PROGRAMMING !!! stdio.h, strings.h and stdlib.h allowed as a header files !!!Write a program to enter a text that
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am