Question: Write a C++ Main code the generate random list of numbers. Your main code should test the prime numbers in the list by sending each

 Write a C++ Main code the generate random list of numbers.

Write a C++ Main code the generate random list of numbers. Your main code should test the prime numbers in the list by sending each number to bool Prime1(int k). Your code should also display how many primes are there. Your random list contains 20 numbers between 3 and 78. A sample run should look like this

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!