Advertisement
erzis

Untitled

Oct 19th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a,b,c;
  6.  
  7. cin >> a;
  8. cin >> b;
  9. cin >> c;
  10.  
  11. if (a < b && a < c)
  12. {
  13. cout << a;
  14. }
  15. if (b < a && b < c)
  16. {
  17. cout << b;
  18. }
  19. if (c < a && c < b)
  20. {
  21. cout << c;
  22. }
  23. system("pause");
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement