今天出了一道题目给孩子们……

| No Comments | No TrackBacks

If intNumber <=100 Then
     intNumber = intNumber * 2
Else
     If intNumber > 500 Then
     intNumber = intNumber * 3
     End If
End If

Assume the intNumber variable contains the number 200. What value will be in the intNumber variable after the above seletion structure is processed?
a. 0 b. 200 c. 400 d. 600 e. null

竟然所有的人都回答错误了……

No TrackBacks

TrackBack URL: http://www.liukang.com/cgi-bin/mt/mt-tb.cgi/74

Leave a comment

Google ADs

ClustrMaps

Archives

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.37
Creative Commons License
This blog is licensed under a Creative Commons License.

January 2012

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Kang published on May 12, 2005 7:50 PM.

IEV was the previous entry in this blog.

五年一劫 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Google ADs