This assignment is to create a C++ Program that will store 10 integers into an array. Only accept integers between -100 and 100. Display those integers. You must then square those integers by calling a function to square each individual integer. That function must be called, square() and its only parameter should be the integer that you want to square. Display those integers. Please note that you may only have one array. You must then take the total of the squared integers and get the average. Here is a sample run.

The ten numbers entered in are: 1 2 3 4 5 6 7 8 9 10

Those same numbers squared are: 1 4 9 16 25 36 49 64 81 100

The total of the squared numbers is: 385

The average of the squared numbers is: 38
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.