Fix the if statements to satisfy the value of the first elementof the array:
![3 using namespace std; 4 6 int mainO 8 int array[2]; // an array of size 100 9 int x; 10 11 cin >> x; array[0]-x; 12 13 14 if](https://media.cheggcdn.com/media%2Fc40%2Fc40c6845-60e6-43e0-ab2b-625450e2ab95%2Fphp9EjGp2.png)
3 using namespace std; 4 6 int mainO 8 int array[2]; // an array of size 100 9 int x; 10 11 cin >> x; array[0]-x; 12 13 14 if Carray0] cout << “x is greater than zero”; 15 16 else if(array[0] > 0) cout << “x is less than zero” 17 18 19
PayPal Gateway not configured
PayPal Gateway not configured