Menu
support@authoritypapers.com
+1(805) 568 7317

im a begineer i am trying to create this a non global program for c and icannot get 5122258

Im a begineer I am trying to create this a non global program for c++ and Icannot get it to work. Receiving many errors when I run it. Can Iplease get some home here is the requirement and my code . Define an array with a maximum of 20 integer values and fillthe array with numbers input from the keyboard or assigned by theprogram. Write a function named split() that readsthe array and places all zeros or positive numbers in an arraynamed positive and all negative numbers in an array named negative.. Be sure to include prototypes for both split() and display()functions. Points will be deducted if the split() and/or display()function prototypes are omitted.Do not declare the three arraysglobally. The split()function should take three array referencesalong with the size of the numbers array as arguments. I reallyneed help use display() and split(). #include “stdafx.h” #include #include #include #include using namespace std; void split(int []); int main() {    int number[ 20 ] = { -110, 10, 20, 30, 40, 50, 60,70, 80, 90, 100,        -10. – 20, -30, -40, -50, -60,-70, -80, -90, -100 };    split(number);    cin.get();    cin.ignore();    return 0; } void split(int number[]) { . . .

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"GET15"

Order Now