C/learnc/learnc5.c
2023-09-23 22:20:41 +03:00

23 lines
354 B
C
Executable File

#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;
}