再說,邏輯判斷應該用==。
import ***;
class Program
{
static void Main(string[] args)
{
for(int i=1;i
{
if(i!=4)
{
System.out.println("hello "+i+"回");
}
}
}
}
i一共才循環到5,在else if那條中怎麽可能出來=10呢?
所有跟帖:
•
括號要用縮進格式
-中國民航-
♂
(0 bytes)
()
12/12/2006 postreply
18:53:56
•
那不是我的事兒。貼上來時括號被自動省略了。
-yahoobb-
♀
(0 bytes)
()
12/12/2006 postreply
19:05:02
•
哥,這問題您老也答?
-qqing1-
♀
(17 bytes)
()
12/12/2006 postreply
21:07:15
•
為什麽不答?沒看俺老人家連上麵的八卦都答麽?:)
-ohlalala-
♀
(0 bytes)
()
12/12/2006 postreply
21:18:46
•
問題雖然簡單,但畢竟在google上檢索不到。
-yahoobb-
♀
(84 bytes)
()
12/12/2006 postreply
22:17:54
•
劉光明那五十萬美金的屁股到現在也沒Google到,幫俺找找
-桌子-
♂
(6 bytes)
()
12/13/2006 postreply
13:18:39