Question: This needs to be in c++ please and save the array to an output.txt file. a) Create an array or size 10. Define S1zE as
and save the array to an output.txt file. a) Create an array or size 10. Define S1zE as a constant in main function b) Create a function randomAr ray (int a[] S pta). , const int& CAP) that uses time based seed to generate and store ten random numbers range between o to 9 ) Create an output function (const int atl, const ints CAP) to display the d) Create a function outFile (const int all, const ints CAP) to output the e) Main function should just make function calls (5 pts). inclusive to the array (15 pta). array to the console (10 pts). array to a tile, output.txt (15 pts) Console Output Example G12018 springLETS751FinalExam|Q3.exe RANDOM ARRAY 316 89524 Process returned 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
