第1个回答 2016-01-28
/*
============================================================================
Name : c测试.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int i;
for(i=1;i<=100;i++){
if((i%7==0)||(i%9==0)){
printf("%d\n",i);
}
}
return EXIT_SUCCESS;
}