Question: Hi, I need a sample c# code Use tasks to perform the following tasks in parallel on the inputted numbers. 1. Createe a task to

Hi, I need a sample c# code

Use tasks to perform the following tasks in parallel on the inputted numbers. 1. Createe a task to calculate the mean of a set of numbers. 2. Createe a task to return the set of the numbers sorted in either ascending or descending order. 3. Createe a task to calculate how many values (or numbers) are greater than or equal to the mean value. This task can be done better after calculating the mean of the numbers. 4. Createe set of tasks to calculate the maximum and minimum numbers from the sorted numbers. This tasks can be performed much more quickly if the numbers are already sorted. Note: You can use the Statistical Learning Activity code we covered during the class. I uploaded that under D2L too in the Module 8 Sample run: Total number of values: 5 30 20 10 50 40 Max: 50 Min: 10 Number of values greater than mean: 3

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 General Management Questions!