Course Solutions Uncategorized (Solved) : Fix Statements Satisfy Value First Element Array Q38206580 . . . .

(Solved) : Fix Statements Satisfy Value First Element Array Q38206580 . . . .

 

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

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post