求出[10,1000]内所有能被7和9中至少一个数整除的整数的个数。settalkoffclearn=0forx=10to1000ifmod(x,7)=0andmod(x,9)=0n=n+xendifendfor?nsettalkonreturn