Hey I am new here and slightly new to C but I know alot of useful things, such as defining variables, some strings, loops, user defined functions, and arrays, also pointers and a few more things.

My task is to write a C function that preforms a find within a string:

1) Prompt the user for a test string(printf/scanf)
2) Prompt the user for a string to find within the test string
3)If the find string is found within the test string (Case or If right)?
4) If the Find string is not found let the user no it was not found(default case right)?
5) Prints out the number of times that the find string was found within the test case

Assume case sensitivity, and maximum length is 100 chars


Test Case: "this is a fun project to work on"
fun found at column 11
fun was found a total of 1 times

Thanks I will be working on it in the comments below plz if you can help I know its probably easy for most people but it would really help me and be appreciated. Thanks