Joke Collection Website - Joke collection - Design program: Find out the smallest number of 1 in a positive integer, divide by 3, 5, 7 and 9, and the remainder is 1, 3, 5 and 7 respectively, and output the result.

Design program: Find out the smallest number of 1 in a positive integer, divide by 3, 5, 7 and 9, and the remainder is 1, 3, 5 and 7 respectively, and output the result.

Master ()

{ int I;

for(I = 3; I< 1000; i++)

{ if(I/% 3 = = 1 & amp; & ampI/5 = = 3 & amp; & ampi % 7 = = 5 & amp& ampi%9==7)

Break;

}

printf("%d ",I);

}

You should find it within 1000!

Stupid way! Not if the quantity is large! Get off my back!