int main() {
int c = 0;
char a[1000];
ofstream filout("hanzo", ios::out);
cout << "Enter paragraph";
gets_s(a);
filout << a;
filout.close();
ifstream filin("hanzo", ios::in);
filin.seekg(0);
while (!filin.eof()) {
filin >> a;
if (!strcmpi(a, "is"))
c++;
if (!strcmpi(a, "the"))
c++;
}
cout << "\n\n number of the and is are:" << c << endl;
filin.close();
return 0;
}