Untitled

Anonymous
c_cpp
10/29/2023 8:26 AM
316 B
22
Indexable
#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)))"
    }
Editor is loading...