1. Ask the user for ten (10) grades, and store the data in an array. Compute the average of all the grades. Print the original ten grades and the average.a. Declare an integer array with the name of “grades” of size 10 in the main functionb. Create a function called “getGrades” that prompts the User for the grades and puts them in an integer array.i. The function will receive an integer array and the size of the array.ii. In the function prototype and the function header, call the array “gradeArray” and call the size of the array “size.”iii. Create a For Loop that cycles through each cell of the array.iv. At each cell prompt the User for a grade.v. Store the grade entered by the User into the array cell.c. From main, send this function the array called “grades” and the size of the array.d. Create a function called “computeAverage” that computes the average of an array of integers and returns the average as a float.i. The function will receive an integer array and the size of the array.ii. In the function prototype and the function header, call the array “numbers” and call the size of the array “size.”iii. Create a For Loop that cycles through each cell of the array and computes a running total of the values stored in the array.iv. Use the size of the array to compute the average from the running total.v. Return the average through the function name.e. From main, send this function the array called “grades” and the size of the array.f. From main, print out the average returned by computeAverage.g. Create a third function called “printInts” that will print out the contents of an integer array. This function will be void.i. The function will receive an integer array and the size of the array.ii. In the function prototype and the function header, call the array “intArray” and call the size of the array “size.”iii. Create a For Loop that prints out the contents of the array.2. Generate 20 random numbers within a range of 1 to 50 and store them in an integer array named “randomArray.” Then print out the contents of the array.a. Create a function named “getRandom” that will generate a random number between any range.i. The function will receive two call-by-value arguments – the beginning value of the range and the ending value of the range.ii. Generate a random number within the specified range.iii. Send the random number back through the function name.b. In the main function, create a For Loop that cycles through the array called randomArray.i. With each cycle, call your getRandom function from main and store the random number it returns into your array.c. In main, call the function printInts to print out the contents of the array called randomArray. Make sure you use the SAME FUNCTION you created in step 1. You are just sending it a different array.d. Next, in the main function, call the function computeAverage to compute the average of the random numbers you stored in the array called randomArray. Make sure you use the SAME FUNCTION you created in step 1. You are just sending it a different array.e. In main, print out the average returned by computeAverage.
Why Choose Us
Top Writers4me provides the best top-grade academic writing services in compliance with our customers’ instructions. Have your paper written by a certified professional online college homework help writer to produce only high-quality essays with zero plagiarism.
Professional Academic Writers
You can now choose from a pool of online college homework help writers. Choose your writer and have them write the best content for you.Top Writers4me has, over the years, secured a team of the most reliable, experienced, and qualified writers. You can, therefore, trust that your assignment is in good hands.
We know that students have very limited budgets. And for that, we always strive to provide only the best, most affordable online college homework help services to our customers. Our goal is to provide top-quality assignment help services to all customers at the lowest, most affordable prices.
At Topwriters4me.com, we pay strict attention to deadlines. We recommend you to check out clients’ reviews for assurance that we will complete your assignments within the set deadlines. You can, therefore, trust that your paper will be done within and before the set deadline. Until now, we have not missed a single deadline.
Our Topwriters4me.com homework helper experts write only 100% original and plagiarism-free content for all of our clients. We also have a Quality Assurance Department team that goes through all work submitted by our writers multiple times. You can, therefore, rest assured that any signs of plagiarized or unoriginal content will be rejected before it reaches your portal.
Customer Support 24/7
Topwriters4me.com expert writers are always available 24/7 for customers who need assistance with using our website. You don’t have to check your watch the next time you want to have your assignment written. Our customer support is always available round the clock and ready to listen to your queries. Feel free to contact us via the Chat window or support email: email@example.com.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
For years now, Topwriters4me.com has stood as a leader in providing its customers with the best online college homework help service in the industry. And all you have to do is provide us with the details of your order. Leave everything else to us. We’ve always got you covered.
Since we launched, Topwriters4me.com deserved the best online “college homework help status” thanks to our essay ordering, writing, and delivery process. We deliver nothing but excellence in our results. Our essay writing services include impeccable grammar, zero-plagiarism, proper structure, and conformance to guidelines.
Admission and Business Papers
Our top-quality online college homework help services guarantee that you will be accepted into your desired university. You just need to fill out your admission and business papers, and our team of online homework help workers will handle the rest. We will help you achieve and secure the best positions in your admissions forms.
Editing and Proofreading
At Topwriters4me.com, we have a skilled writing and editing team that’s dedicated to creating, editing, and restructuring for all types of papers. Our online college homework help editing and proofreading team will check, paraphrase, and correct any grammar mistakes on your paper before submitting the final document to you.
At Topwriters4me.com, we pride ourselves in having writers in almost all fields, even the most technical ones. You never have to worry about your paper being too technical for our certified online college homework help writers to handle. Mycoursewriter's team of writers can handle even the most complex writers. We will match your paper to the most competent writer that we believe will handle your paper the best way possible.