Advertisement
erzis

Untitled

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