Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
236 B
2
Indexable
Never
#include <iostream> 
using namespace std;
int main ()
{
    int n;
    cin >> n;
    if (n>1){
        if (n%2 == 0)
        cout << n/2;
        if (n%2 !=0)
        cout << n;
    }
    else 
    cout << "ny ne poshlo chtoto)))"
    }