Guest User

Untitled

a guest
Nov 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main (){
  5. int a, b, c;
  6. cin >> a >> b >> c;
  7. if (a>b and a>c) {
  8. cout << a << endl; }
  9. else if (b>a and b>c){
  10. cout << b << endl;}
  11. else {
  12. cout << c << endl;}
  13. }
Add Comment
Please, Sign In to add comment