Page 1 of 1

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:14 am
by answerhappygod
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++
please need the code ASAP. im using VS code community 22