fork download
  1. /*
  2.  * File: main.cpp
  3.  * Author: mg909
  4.  *
  5.  * Created on July 30, 2015, 10:59 AM
  6.  */
  7.  
  8. #include <cstdlib>
  9. #include <iostream
  10. #include <stdio>
  11.  
  12.  
  13. int main()
  14. {
  15. int a,b,c;
  16.  
  17. std::cout<<"Enter the number in increasing order/n";
  18. std::cin>>a;
  19. std::cin>>b;
  20. std::cin>>c;
  21. int PYthagorean(a,b,c)
  22. { if(c*c= a*a + b*b)
  23. { std::cout<<"Your numbers are pythagorean triplets" ;
  24. }
  25. else
  26. { std::cout<<"Your Numbers are not pythagorean triplets";
  27.  
  28.  
  29. return 0;
  30.  
  31.  
  32. }
  33.  
  34.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:9:19: error: missing terminating > character
prog.cpp:10:17: fatal error: stdio: No such file or directory
compilation terminated.
stdout
Standard output is empty