Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. double n1 , n2 , n3;
  7.  
  8. cout << "Jep vleren e n1"<<endl;
  9. cin>>n1;
  10. cout <<"Jep vleren e n2" <<endl;
  11. cin>>n2;
  12. cout <<"Jep vleren e n3" <<endl;
  13. cin>>n3;
  14.  
  15. if (n1>n2 && n1>n3)
  16. {
  17. cout <<"n1 me i madhi" <<endl;
  18. }
  19. if (n1<n2 && n2>n3)
  20. {
  21. cout <<"n2 me i madhi"<<endl;
  22. }
  23. if (n1<n2&&n2<n3)
  24. {
  25. cout <<"n3 me i madhi"<<endl;
  26. }
  27.  
  28.  
  29.  
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement