再说,逻辑判断应该用==。
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