#incude <cs50.h> #include <stdio.h> Int main(void) { Int x;y;z; While(x<0) { printf("enter number_"); Scanf("%d"x); } for(y=o,y=x,y>,y--) for(z=0,z>=x,z++) { printf(" "); Print("#"); Print("\n"); return0; } }
This post has been edited by jimblumberg: 12 January 2013 - 07:59 AM
Reason for edit:: Added missing code tags. Please learn to use them.