Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab4(114)

Snippet info

Language

Cpp

Visibility

public

Author

andrusus.korotkovus

Created

2018-10-15T21:56:53Z

Updated

2018-10-15T21:56:53Z

#include <iostream>
#include <cmath>
using namespace std;


int main() {
    int a, b, c;
    cin>>a>>b>>c;
    if(a<=b<=c) {
        a = a*2;
        b = b*2;
        c = c*2;
    } else {
        a = abs(a);
        b = abs(b);
        c = abs(c);
    }
    cout<<a<<b<<c;
        
    
}
INFO