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