I am a complete beginner so bare with me please.
(problem) Write a program that aks the user for a file name. Assume the file contains a series of numbers, each written on a seperate line. The program should read the contents of the file into an array and then display the following data:
*The lowest number of array
**The highest number of array
*The avesrage number of array
*The total number of array
My code
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream infile;
const int ARRAY_SIZE = 11;
int numbers[ARRAY_SIZE];
int count = 0;
int total = o;
ifstream inputFile;