下面的输出结果是( )。 public class Test { public static void main (String[] args) { int n=10,result=0; for (int i=1i<=ni++) result+=i System.out.println('result is'+result); } }
A.
result is 55
B.
result is 45
C.
result is 56
D.
result is 54
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】Daniel is a very _____ football player and he plays very ______.
【简答题】Daniel stays home on workdays. He starts his personal computer in order to connect with the office which is about three hundred miles away in another city. After work, he puts on his headphones, watch...
【单选题】听力原文: (16) Daniel Hale Williams was an example of a brilliant African-American doctor who managed to find success despite the obstacles white Americans placed in front of him. He was born in 1856 in H...