Question: Please do this in C++ Using a random number generator, you will need to create (4) data sets of 100 random integers each with values

Please do this in C++

Using 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. You may create your data sets once and write them to a file for later reading in or you may create them each run.

Insert head (for FIFO)

Insert tail (for LIFO)

Insert sort (largest to tail)

Insert priority (1 at tail then 2, 3)

Create and destroy/delete will be needed. Use pointer passing in arguments.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!