Make a program that asks the user for a string


Problem

Make a program that asks the user for a string, then searches the alice.txt file and returns the number of times that string occurs in the file. We're keeping this one simple and just looking for the *string sequence*, so if you searched for "Bob", then "Bob", "Bobby" and "SpongeBob" would each be counted. The search is case sensitive!

This can be done with a short, simple function if you read in the whole file. No loops!

Make sure your code looks like mine:
```
Enter a string to count: to
The sequence appears 60 times.
```

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Make a program that asks the user for a string
Reference No:- TGS03268356

Expected delivery within 24 Hours