fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int st1;
  6. int st2;
  7. int st3;
  8.  
  9. cin>>st1;
  10. cin>>st2;
  11. cin>>st3;
  12.  
  13. if((st1,st2)<st3) {
  14. cout<<"največje število je ";
  15. cout<<st3;
  16. }
  17. if((st1,st3)<st2) {
  18. cout<<"največje število je ";
  19. cout<<st2;
  20. }
  21. if((st3,st2)<st1) {
  22. cout<<"največje število je ";
  23. cout<<st1;
  24. }
  25. return 0;
  26. }
Success #stdin #stdout 0s 3344KB
stdin
2
100
400
stdout
največje število je 400