Allows user to enter numbers into an array of 20 integers. The numbers are inputted in such a way that the array is kept sorted. The array may or may not be filled up. Include an error message to indicate a full array (e.g., “Cannot accommodate any more inputs. The array is full.”).
If the user does not want to continue entering numbers (or if the array is full), segregate the numbers into two (2) other arrays, which means you will be manipulating three (3) arrays in this program. The second array will contain all even numbers, while the third array will have all odd numbers. Note that the first array contains the original sorted data. Also, determine and output the largest and the smallest numbers in each array, the sum, and the average.
Make use of structured/modular programming. This means that it is expected that you will
1. make use of parameter passing by value and with reference (using pointers), and
2. reuse your functions (by calling them again but with different values passed to the parameters)
I will be adding 3 screenshots (specifications) so that it will be easy to understand it. For anyone helping, it would so grateful, thank you in advance
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more