kot_mapku3

1 C

Jun 2nd, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. #include <iomanip>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.     int a, b, c;
  9.  
  10.     cin >> a >> b >> c;
  11.  
  12.     if (a > b && a > c) cout << a;
  13.     else if (b > c) cout << b;
  14.     else cout << c;
  15.  
  16.     //cout.precision(10);
  17.     //cout << fixed << (a + b) * c;
  18.  
  19.     return 0;
  20. }
Add Comment
Please, Sign In to add comment