This commit is contained in:
2023-09-23 22:20:41 +03:00
parent 609aa52e66
commit 66997adad5
42 changed files with 642 additions and 0 deletions

22
learnc/learnc5.c Executable file
View File

@ -0,0 +1,22 @@
#include <stdio.h>
int main() {
int array[] = {1, 7, 4, 5, 9, 3, 5, 11, 6, 3, 4};
int i = 0;
while (i < 10) {
if (array[i] < 5){
i++;
continue;
}
if (array[i] < 10) {
printf("%d\n", array[i]);
i++;
if (array[i] > 10){
break;
}
}
}
return 0;
}