Advertisement
parthosutradhor

প্রোগ্রামিং সমস্যা ১ — জোড়-বিজোড় ১

Jul 29th, 2023 (edited)
787
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | Source Code | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int T, n;
  7.     cin >> T;
  8.     while (T--) {
  9.         cin >> n;
  10.         if (n % 2) cout << "odd\n";
  11.         else cout << "even\n";
  12.  
  13.     }
  14.  
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement