如题所述
#include <stdio.h>
main()
{
int i=100; /* 100%7=2,是第一个数 */
for(;i<=200;i+=7) /* 每次加7,除以7的余数不变 */
printf("%d ",i);
printf("\n");
}
语言python: