個位數(shù)字是6,且能被3整除的3位數(shù)共有多少個?下面程序用于解決這一問題,在橫線處填入合適的語句或表達式,完成程序.設共有n個這樣的數(shù),Visual Basic程序如下: Sub command1_click( ) Dim i as integer,n as integer m=106:n=0 do while m<=996 if m mod 3=0then
3.有程序代碼如下,輸入某數(shù)據后,輸出結果為“B”。那么輸入的數(shù)據可能是( ) Dim score As Integer score=Val(InputBox(“score:“)) If score>89 Then Print“A“ Else If score>59 Then Print“B“ Else Print“C“ End If End If