View the step-by-step solution to:

Question

# I have a question regarding a C++ programming assignment. />InstructionsInitialize 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.

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents
• ### -  