Question: C++ language. The prompt and the code I had written is pictured. Please correct the code. In case it helps, the tested input was: 1677045528

C++ language. The prompt and the code I had written is pictured. Please correct the code. In case it helps, the tested input was: 1677045528 9 16. The expected output based on the input was: 10 16 14 14 67. The program outputted: 16 15 10 12 68.C++ language. The prompt and the code I had written is pictured.

Given integer variables seedVal, minTable, and maxTable, seed the pseudorandom number generator with seedVal. Then, output four random table sizes in the range minTable to maxTable inclusive. Lastly, given a total of 121 people, output the number of people that are not at a table. End each output with a newline. Ex: If minTable is 9 and maxTable is 16 , then a possible output is: 15 11 12 13 70 Note: The number of people that are not at a table is 121 - table 1 - table2 - table3 - table4

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!