Advertisement
Qpel

Untitled

Dec 21st, 2016
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int n = 7;
  8.     int M[n];
  9.  
  10.     for(int i = 0; i < n; i ++){
  11.         cin >> M[i];
  12.     }
  13.  
  14.     if(M[1] > M[2]) cout << "Masyvas mazejantis";
  15.     if(M[1] < M[2]) cout << "Masyvas didejantis";
  16.  
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement