Find Jobs
Hire Freelancers

Numbers and Array

$10-30 USD

Completed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
Write a C# program that uses three threads to print the numbers from 0 to 100 in ascending order. One thread prints numbers that have a remainder of 0 when divided by 3, one thread prints numbers that have a remainder of 1 when divided by 3, and one thread prints numbers that have a remainder of 2 when divided by 3. In your program you are required to use the wait() and pulse() methods from the Monitor class for signaling/synchronization. Thread 0: 0, 3, 6, 9… Thread 1: 1, 4, 7, 10… Thread 2: 2, 5, 8, 11… Output: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11… 99, 100 Write a C# program that finds the maximum and minimum values in an array of random ints using threads. The array must contain 10,000 randomly generated ints in the range 0..50,000 with no duplicated values. You must run your program using 2, 10, and 100 threads. Your program must display the maximum and minimum values and how long it took each run to execute. Create the array when the program begins. Use the identical array values for each run. The program should display the first 10 and last 10 values in the array at the start of execution.
Project ID: 16726932

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
dear sir I have full experience of c# program I just joined freelancer, but I started programming long ago. And I've done project similar to yours before. I use VS 2013 and I ever done Fetching Gmail program with C. I am full confident to complete your project and I do my best if you let me bid on yours. I focus on client's credit than money. I want to discuss more in detail. Thank you.
$25 USD in 1 day
5.0 (8 reviews)
2.6
2.6
4 freelancers are bidding on average $27 USD for this job
User Avatar
Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C# programming. And I will provide you quality work according to your instrument. Thanks
$35 USD in 1 day
4.9 (140 reviews)
6.5
6.5
User Avatar
Electronic Engineering stud Electronic Engineering stud Electronic Engineering stud Electronic Engineering stud Electronic Engineering stud
$24 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
SEWARD, United States
5.0
5
Payment method verified
Member since Apr 17, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.