Hey I'm kinda new a C++. I have an assignment due tomorrow... and I don't even know how to start. Could someone please help. here is my assignment.
Write a program that counts how many even and odd integers respectively in the input data file,
hw4dataf11.txt
Note:
1. Download hw4dataf11.txt to your local computer.
2. Use file I/O to read the integers from the file. If the data file is saved in your project folder, only
the file name is needed when you declare an ifstream variable, otherwise, a path to the file is
required.
3. Suppose the ifstream variable is input, then use while(!input.eof()) for testing whether the end
of file is reached.