MIT-Curricular/DS/C/test/loading.c

37 lines
389 B
C
Raw Normal View History

2024-08-13 11:29:34 +05:30
#include <stdio.h>
int main(){
int k,i,j;
for(k=0;k<11;k++){
printf("[");
for(i=0;i<10-k;i++){
printf(":");
}
for(i=0;i<k;i++){
printf(" ");
}
printf("]\n");
}
printf("\n");
for(k=0;k<11;k++){
printf("[");
for(i=0;i<k;i++){
printf(":");
}
for(i=0;i<10-k;i++){
printf(" ");
}
printf("]\n");
}
}