Advertisement
ZhilinskiyG

Task 1_8

Mar 12th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout << "Input the number of liens" << endl;
  7.     int a;
  8.     cin >> a;
  9.     if (a % 2 == 0){
  10.         cout << "No" << endl;
  11.     }
  12.     else{
  13.         cout << "YES"<<endl;
  14.     }
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement