custom writing services

Need help: Write an email to our support staff or

whatsapp us

order order
Average score 4.97 out of 5 based on 836 opinions

Computer science homework 9

 CS111 Assignment 9

Note: Assignments submitted by 5/8/2016 will get full score if the program works as expeced.

Write a complete C++ program that will randomly generate 20 integers between the ranges 60 – 100 and store the result in an array. The program should consists of the following functions to test out the array:

a.findMax will return the largest number of the array.

b.findMin will return the smallest number of the array.

c.findAverage will return the average of the number of the array.

d.findMinGap will return the smallest gap in between the adjacent entries of the array. (A gap between two numbers is the absolute value of their difference)

e.findGapSum will return the sum of gaps between adjacent entries of an array.

The main program should be similar to below:

int main() {
int array[20] = { };
// initialize all the value of the array;
cout << findMax(array, 20) << endl;
cout << findMin(array, 20) << endl;
cout << findAverage(array, 20) << endl;
cout << findMinGap(array, 20) << endl;
cout << findGapSum(array, 20) << endl;



Need an answer from similar question?Click here and get a solution now

order You have just landed to the most confidential, trustful essay writing service to order the paper from. We have a dedicated team of professional writers who will assist you with any kind of assignment that you have. Your work is handled confidentially with a specific writer who ensures you are satisfied. Be assured of quality, unique and price friendly task delivered in good time when you place an order at our website. banner We have a team of dedicated writers with degrees from all spheres of study. We readily accept all types of essays and we assure you of content that will meet your expectations. Our staff can be reached  via live chat, email or by phone at any given time with prompt response.  

Prices starting at:

High school
Undergrad.(yrs 1-2)
Undergrad.(yrs 3-4)
$10 / page
$10/ page
$12/ page
$15 / page
$17/ page

Note: The prices in the table above are applicable to orders completed within 14 days. Kindly see the full price table for more prices..

We urge you to provide as much information as possible to avoid many revisions. Set your deadline, choose your level, give payment information and relax while you track your work. We will deliver your paper on time. Are you in a quagmire and you are unable to complete your assignments? Do you doubt yourself on the quality of the essay you have written?  is here to assist you. We will offer you unmatched quality that is plagiarism free. Place an order at  for guaranteed  high grades. order download

we offer gifts to our paper help customersPayment Methods

you can request our services and pay via paypal

we offer gifts to our paper help customersOur Guarantees

  1. Zero plagiarism.
  2. 100% confidentiality.
  3. FREE Reference page
  4. High Quality papers
  5. 24/7 Customer support

Our Testimonials Testimonials

I ordered a 7 page college essay and was delivered on time. Thank you guys I will definitely order again!

, FL

Our statisticsOur Statistics

  • Orders Completed todate 72387

  • Number of writers 500

  • Satisfied customers 99.7%

  • Returning customers 92.3%

  • Orders placed today 87