Quick actions

cmd+k|ctrl+k

Navigation

Languages

4lab(130)

Snippet info

Language

Cpp

Visibility

public

Author

bikhnevichk

Created

2018-11-06T06:36:09Z

Updated

2018-11-06T06:43:43Z

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

int main() {
    int a,b,c;
    cin >> a >> b >> c;
    
    if(a < b && a < c)
         cout << "best=" << a << endl;
         
    else if(b < c && b < a)
         cout << "best=" << b << endl;
          
    else
    cout << "best=" << c << endl;
    return 0;
}       
INFO