Question: Task 1 : Write C + + program that Declares an array of size 1 0 0 0 and populates it with random numbers between
Task : Write C program that Declares an array of size and populates it with random numbers between and Then it finds factorial of these numbers and checks how many of these prime numbers are. Also find the time taken by the system to perform these tasks. Now, create two thread such that the first thread process finds the factorial of these numbers given in the above array while the other finds how many of these are prime. Now, calculate the time taken by these children processes to perform these tasks. Now, compare which approach performs bette
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
