This commit is contained in:
2024-03-26 11:15:25 +03:00
parent 4ecfebcd1b
commit 04d946e28c
38 changed files with 91 additions and 0 deletions

15
DeitelC/Chapter3/test1.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main( void )
{
int outer_count = 1; // initialize count
while ( outer_count <= 10 ) { // loop 10 times
int inner_count = 1;
while (inner_count <= outer_count) {
printf("* ");
inner_count++;
} // end inner while
printf("\n");
outer_count++;
} // end outer while
} // end main