20 lines
406 B
C
20 lines
406 B
C
/*-------------------------------------------------------
|
||
题目:把123~321之间的可以被7整除的数输出。(使用for循环)
|
||
--------------------------------------------------------*/
|
||
#include <stdio.h>
|
||
void main()
|
||
{
|
||
int a=0;
|
||
/**********Program**********/
|
||
for(a=123;a<=321;a++){
|
||
if(a%7==0){
|
||
|
||
|
||
|
||
|
||
/********** End **********/
|
||
printf("%d\n",a);
|
||
}
|
||
}
|
||
}
|