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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started