標題:

java 問題

發問:

aa.jpg

 

此文章來自奇摩知識+如有不便請留言告知

startNum is 12, endNum is 19, and odd is selected. The program calculates 13 + 15 + 17 + 19 and thus the sum is 64. e條我program應該點寫

最佳解答:

int sum=0; for(i=12;i
其他解答:

i 一定要 declare 了才可以用; mod係唔存在係 JAVA 要用 (i % 2); public class Program { public static void main(String[] args) { int sumOf = 0; for (int i = 12; i

arrow
arrow
    文章標籤
    花樣 文章 奇摩
    全站熱搜
    創作者介紹
    創作者 rll33xb99t 的頭像
    rll33xb99t

    rll33xb99t的部落格

    rll33xb99t 發表在 痞客邦 留言(0) 人氣()