如题所述
NS流程图
#include <stdio.h>
int main()
{
int i=1,cnt=0;
while(i<100)
if(i%7==0||i%3==0)
cnt++;
i++;
}
printf("%d\n",cnt);
return 0;