Question
Please do this in C++ Create a random number generator, you will need to create (4) data sets of 100 random integers each with values
Please do this in C++
Create a random number generator, you will need to create (4) data sets of 100 random integers each with values of 0 to 99. Additionally, you will need to create (1) data set of 100 random integers values of 1 to 3. The latter is for priority of the insert priority queue. Create your data sets once and write them to a file for later reading in or create them each run.
Insert tail (Last In First Out) (LIFO)
Insert sort (largest to tail) Insert priority (1 at tail then 2, 3)
Create and destroy/delete is needed. Use pointer passing in arguments.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started