Advertisement
Guest User

Untitled

a guest
Nov 9th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. int main() {
  6. int x;
  7. int y;
  8. int a;
  9. cin >> x >> y >> a;
  10. if( x < y & x < a ){
  11. cout << x;
  12. }else if( y < a & y < x){
  13. cout << y;
  14. }else if( a < x & a < y){
  15. cout << a;
  16. }else{
  17. cout << endl;
  18. }
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement