I am told to write a definition after the main program that takes numbers from the keyboard and stores them in an array. I'm slightly confused on how to do this step. Help would be majorly appreciated. This is what I have so far with the program.
#include <iostream>
#include <cstdlib>
#include <fstream>
using namespace std;
void input (int i, int element[]);
int main()
{
int i, element[10], max;
i = 0;
return 0;
}