fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long x ,y,z;
  6. cin>>x>>y>>z;
  7. long long max,mid,min;
  8. if (x<y&&y<z)
  9. {
  10. min==x;
  11. mid==y;
  12. max==z;
  13. }
  14. else if(y<x&&x<z)
  15. {
  16. min==y;
  17. mid==x;
  18. max==z;
  19. }
  20. else if(z<y&&y<x)
  21. {
  22. min==z;
  23. mid==y;
  24. max==x;
  25. }
  26. cout<<min<<endl;
  27. cout<<mid<<endl;
  28. cout<<max<<endl;
  29. cout<<endl<<endl;
  30. cou<<x<<endl;
  31. cout<<y<<endl;
  32. cout<<z<<endl;
  33. return 0;
  34. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:30:2: error: ‘cou’ was not declared in this scope
  cou<<x<<endl;
  ^~~
stdout
Standard output is empty