77问答网
所有问题
用VB设计一个程序,找出100到8000范围内所有能同时被3和8整除的自然数?
如题所述
举报该问题
其他回答
第1个回答 2020-05-12
for i=100 to 8000
if (i mod 3=0) and (i mod 8=0) then print i
next
本回答被网友采纳
相似回答
大家正在搜
相关问题
用VB设计一个程序,找出100到1000范围内所有能同时被5...
用VB编程求1到100(包括100)自然数中能被3和7同时整...
c语言:使用while语句求出1到100以内所有能被3整除或...
编写VB程序将1到100自然数中同时被3和5整除的数打印出来...
vb 使用For…Next语句实现循环结构。设计一个程序,找...
用VB程序编写程序输出50~200之间不能同时被3和7整除的...
vb用for循环结构显示100以内所有能被21整除的自然数 ...
VB题 枚举算法 请计算自然数100以内的能被3整除的偶数的...