Need help doing this assignment due tomorrow morning.
Write a console application with methods to do the following.
1. Write a method that receives 2 ints [0, 1000], returns the sum and when the method is complete, the original ints will be in descending order. As an example, int x= 32, int y =45.
int sum = someMethod(ref x, ref y);
When the method is complete and you print x, y and sum, you would see 45, 32, and 77.
Run this method 3 times using different random numbers for x and y. Print the values of x and y before the method call and the values of x, y and sum after the method call.
2. Write a method that returns the sum of all the ints [1, 1000] that are evenly divisible by 7. The client should print the result.
3. Write an efficient method that will determine if any int input by the user is a prime number. If it is not prime, it should also display the factor. The method should not print anything. The client should print the result. (Hint: think out).
Hello Sir/Madam,
I hope you are having an easy week.
I am Milan Sahu from Kolkata, India. I am a C# Developer with 5 year+ Experience.
I am willing to do your project.
I checked your requirement and i want to work with you.
Please check my profile with good feedback.
I am interested in a long term relationship with you.
Waiting for a positive reply.
Thnkz & regards
Milan Sahu,
kolkata, India
$30 USD in 1 day
4.8 (20 reviews)
4.7
4.7
3 freelancers are bidding on average $23 USD for this job
Hi I'm a software Engineer More specifically a .Net developer I'll do your assignment, Its a very minor task for me , I've lot f experience of coding in C#.
thanks
Hello i can do this within few hours ,........................................................................................................................................................................
Regards,
Darpan