Question

# I have a question regarding a C++ programming assignment.

/>

__Instructions__

Initialize the random number generator using a seed value of 30.

Generate a random number between 1 and 500. This will be the number of values in the first set. Display the number of values in the set with an appropriate label.

In a ** for** loop that executes exactly "number of values in the first set" number of times, generate a random number (no restrictions), and display the random number. Make sure that there are only 5 values displayed per line.

Generate a random number between 1 and 300. This will be the number of values in the second set. Display the number of values in the set with an appropriate label.

In a ** while** loop that executes exactly "number of values in the second set" number of times, generate a random number (no restrictions), and display the random number. Make sure that there are only 7 values displayed per line.

Generate a random number between 1 and 100. This will be the number of values in the third set. Display the number of values in the set with an appropriate label.

In a ** do while** loop that executes exactly "number of values in the third set" number of times, generate a random number (no restrictions), and display the random number. Make sure that there are only 8 values displayed per line.

This program MUST use at least 6 symbolic constants.

Three of the constants should be for the maximum values for the sizes of the sets of numbers. The values should be 100, 300, and 500.

The other three constants should be for the maximum number of values to be displayed for each set of numbers. The values should be 5, 7, and 8.

More symbolic constants may be added to the code if necessary.

Also, add code that will count and display the number of even numbers in the first set of values, odd numbers in the second set of values, and multiples of 3 in the third set of values. Also, display "**" after each even number in the first set, odd number in the second set, and multiple of 3 in the third set.

### Recently Asked Questions

- try to implement follow global function using a recursive algorithm to reverse the contents of a string passed in by reference. void flipString ( string &s) ;

- How do you explain the differences between the two methods using arrays in C++? Method 2: int arr[] = {10, 20, 30, 40, 50}; Method 3: int arr[5] = {10, 20, 30,

- please i need pseudocode for the decision and flowchart representations of the decision structures, it should have three decisions and using IF, ELSE AND END