#include
#include
main()
{
printf("100至200之间能同时被3,5,7整神返旁如除游启饥的数为:\n");
int i;
for(i=100;i++;i<201)
{
if(i%3=0&&i%5=0&&i%7=0)
printf(" ",i);
}
}
#include "stdio.h"团肆
main()
{int x;
for(x=100;x<=200;x++)
if((x%3==0)&&(x%5==0)&&(x%7==0))
printf("察或蠢x=%d\败陪n",x);
}
public class Test{
public static void main(String args[]){
for(int i=100;i<200;i++){
if(i%3==0 && i%5==0 && i%7==0)
System.out.println(i);
}
}
}
for(int i = 100;i<派老200;1++)
{
if(i%3 ==0 && i%5 ==0 && i%7 ==0)
{
printf("尘氏升核凯%d",i);
}
}
Private Sub Form_Click()
For i = 100 To 200
If i Mod 3 = 0 And i Mod 5 = 0 And i Mod 7 = 0 Then Print i
Next
End Sub