Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- main(){
- int i,j,k,l;
- for(i=11;i>0;i--){
- for(j=1;j<=i;j++){
- printf(" ");
- }
- for(k=10;k>i;k--){
- printf("*");
- }
- for(l=11;l>i;l--){
- printf("*");
- }
- printf("\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment