new int arr[]; for(int x=0; x++){ //starts loop cin >> p; //gets input //(add current input to array) }
The line with adding the cu