|
|
|
|
bool tested(int a[], int len). |
|
int a[100][100]. This 100 lines of 100 int elements. now I'm lazy so this is what int a[10][10],10 lines of 10 int elements, would look like: |
|
countNegatives( arr). In the code you have arr is a 1d array of 9 int you will never be able to pass that to countNegatives().bool isStrictlyIncreasing(int a[], int len) like this bool isStrictlyIncreasing(arr, 9)| On a side note, why do you use std:: cout instead of using namespace std; is it just a personal preference? |
|
|
|
|