Answer to Question #1945 in C# for Adam

Question #1945
Part 1: Write a program that prompts the user for three numbers; a) The number of random numbers to generate b) The lowest number in the desired range c) The highest number in the desired range Your program will then create an array of the appropriate size, and fill it with random numbers in the desired range. Print out the array. Write a loop to calculate the sum of the array. Print out the sum and the average value. Write another loop to print out every other value. Part 2: After the array is filled, write a loop to calculate __ The sum of the even numbers in the array __ The sum of all the numbers in the array that are less than the average value __ The product of every third element Part 3: Add a user entry loop at the end of the program that asks the user for a number, and then prints the number that is stored at that location in the array. Also print the square and the square root of the number. The user entry loop should end when the user types “Exit” (case insensitive).
Expert's answer
Unfortunately, your question requires more work than to be done for free. You can submit it as an assignment to our control panel set the deadline and our programmers will assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal