Question: Write a C++ code that generate a random list of 50 integers. The range of the random number would be between 1 and 100. The

Write a C++ code that generate a random list of 50 integers. The range of the random number would be between 1 and 100. The code should list all numbers and find:

How many numbers less than 30 and even. Find and display the % out of 100.

How many numbers less than 30 and odd. Find and display the % out of 100.

Whats your total of a and b? Display it.

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!