Problem:
Question- Write a C++ program to count the number of times the words “Aggie” or “Aggies” or “aggie” or “aggies” occur in the keyboard input. You may assume the input will contain only words separated by whitespace (i.e., no punctuation appears). Name your program hw3pr3.cpp.
Write the code step by step and explain it.