Lucian_Adrian

Untitled

Aug 4th, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main(){
  4. int a, b, c;
  5. cin >> a >> b >> c;
  6. if(a <= b && a <= c)
  7. cout << a;
  8. else if(b <= a && b <= c)
  9. cout << b;
  10. else
  11. cout << c;
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment