Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

This needs to be in c++ please image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is American Polity and Governance ?

Answered: 1 week ago

Question

What did they do? What did they say?

Answered: 1 week ago