2025-03-06 23:47:59 +08:00

20 lines
406 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*-------------------------------------------------------
题目把123321之间的可以被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);
}
}
}