This commit is contained in:
2024-03-05 14:17:49 +03:00
parent 8cc30d875d
commit b199446865
11 changed files with 248 additions and 0 deletions

20
DeitelC/FloydsTriangle.c Normal file
View File

@@ -0,0 +1,20 @@
#include <stdio.h>
int main(void) {
int a = 1;
int b = 1;
int i = 1;
while(a < 11) {
while(b <= a) {
printf("%d\t",i);
i++;
b++;
}
printf("\n");
b = 1;
a++;
}
}