fork download
  1. #include <stdio.h>
  2.  
  3. void male(int x,int y)
  4. {
  5. if(x-y)
  6. {
  7. int i=0;
  8. for(;i<x;i++)
  9. printf("%*.*s\n",20+i+1,2*i+1,"##################################");
  10. male(x+2,y);
  11. }
  12. }
  13.  
  14. int main()
  15. {
  16. male(3,9);
  17. return 0;
  18. }
Success #stdin #stdout 0.02s 1676KB
stdin
Standard input is empty
stdout
                    #
                   ###
                  #####
                    #
                   ###
                  #####
                 #######
                #########
                    #
                   ###
                  #####
                 #######
                #########
               ###########
              #############