Re: [VB6]請問一個問題
※ 引述《luludo (林小猴)》之銘言:
: 輸入一終止值e(用inputbox做)
: 且e需>5且為5的倍數,否則要求重輸入
: 請問這個要怎麼做阿,想很久想不出來
: 請各位幫幫我吧!!
dim e as integer
do while e<=5 and (e mod 5 =0)
e=val(inputbox("input a number:"))
loop
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.132.142.235
討論串 (同標題文章)