VB编写程序 求出100到500之间同时满足除5余4且除7余2的数之和

2026年09月22日 09:22
有1个网友回答
网友(1):

for i=100 to 500
if i mod 5 =4 and i mod 7=2 then sum =sum+1
next
print sum