fork download
  1.  
  2. #include<stdio.h>
  3. int main()
  4. {
  5. int x;
  6. scanf("%d",&x);//2
  7.  
  8. if(x>=5)
  9. {
  10. goto cube;
  11. }
  12. else
  13. {
  14. goto square;
  15. }
  16. cube:
  17.  
  18. printf("\ncube%d",x*x*x);
  19. return 0;
  20.  
  21.  
  22. square:
  23.  
  24. printf("\nsquare%d",x*x);
  25. return 0;
  26.  
  27. printf("\n hi");
  28. return 0;
  29. }
Success #stdin #stdout 0s 4172KB
stdin
17
stdout
cube4913