Auto commit
This commit is contained in:
parent
aac550fd91
commit
88a9ab7957
13
2207/C语言同步练习源码/2.循环结构-6.c
Normal file
13
2207/C语言同步练习源码/2.循环结构-6.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
|
||||
int i;
|
||||
for(i=5;i<=100;i++){
|
||||
if(i%5==0 || i%7==0){
|
||||
printf("%d ", i);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
@ -318,6 +318,19 @@ int main(){
|
||||

|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
|
||||
int i;
|
||||
for(i=5;i<=100;i++){
|
||||
if(i%5==0 || i%7==0){
|
||||
printf("%d ", i);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
### 循环结构-7
|
||||
|
Loading…
x
Reference in New Issue
Block a user