daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 78 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top