Question: In-Lab7 Assessment st Write a C++ program that uses a do-while loop in which it generate 10000 random numbers. Each random number, n, is in

 In-Lab7 Assessment st Write a C++ program that uses a do-while

In-Lab7 Assessment st Write a C++ program that uses a do-while loop in which it generate 10000 random numbers. Each random number, n, is in the range 0..99 (inclusive). Let your program compute the sum of the generated numbers that has 2 and 4 as divisors (i.e. numbers divisible by both 2 and 4). Output the same (clearly labelled). Sun Submit a copy of your code and a screenshot of the output window (use a MS-Word document, and write your name and QUID at the top) Sample output: sum of numbers which has 2 and 4 as divisors = 117448 ress any key to continue

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!