hi i really need help writing this program...
write a c++ program that reads an unknown number of integer values and then print count, sum and average of odd values, even values, positive values, negative values!!
If you're not sure where to begin, start writing out the steps in plain language first before worrying about translating to C++ code. Look at the things they want you to calculate - what information will you have to figure out and store when the user inputs an integer?
#include <iostream>
#include <vector>
bool isOdd(int);
bool isNegative(int);
int Average(std::vector<int>, bool, bool); //bool 1: true for odd, false for even
//bool 2: true for negative, false for positive
int main(int argc, char *argv[])
{
// put code here
return 0;
}