Resolved merge conflict and removed .out files
This commit is contained in:
commit
24d05e18d6
@ -1,11 +1,26 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
int start = 10;
|
for(int i = 0; i <= 10; i++) {
|
||||||
for(int i = 1; i <= start; i++) {
|
|
||||||
for(int j = 0; j <= i; j++){
|
for(int j = 0; j <= i; j++){
|
||||||
printf("%s", "*");
|
printf("%s", "*");
|
||||||
}
|
}
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
|
for(int i = 0; i <= 10; i++) {
|
||||||
|
for(int j = 10; j >= i; j--){
|
||||||
|
printf("%s", "*");
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
}
|
||||||
|
for(int i = 0; i <= 10; i++) {
|
||||||
|
for(int t = 0; t <= i; t++){
|
||||||
|
printf(" ");
|
||||||
|
}
|
||||||
|
for(int j = 10; j >= i; j--){
|
||||||
|
printf("%s", "*");
|
||||||
|
}
|
||||||
|
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user