Write a program that reads a series of integers from a data file (name of data file is data.txt, this file has been prov
Posted: Tue Jul 12, 2022 8:11 am
Write a program that reads a series of integers from a data file(name of data file is data.txt, this file has been provided foryou). The program will classify the numbers as odd or even. Zeroshould be classified as even and display how many zeros are in thefile. Your program will also sum up all the numbers and find theaverage (since you’re only working with integers, you will useinteger division to find the average). C++