Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int x;
- int y;
- int a;
- cin >> x >> y >> a;
- if( x < y & x < a ){
- cout << x;
- }else if( y < a & y < x){
- cout << y;
- }else if( a < x & a < y){
- cout << a;
- }else{
- cout << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement