write a program that reads ten integer numbers and outputs the number of inputs which are greater than 50, equal to 50, and less than 50. the program should also display the average of all the numbers greater than 50 and the average of all number less than 50.
this is what i have so far and im not sure how to get the program to count the number of integers entered.
#include <iostream>
using namespace std;
int main(int argc, const char * argv[])
{
//initialise variables
int a, b, c, d, e, f, g, h, i, j;