標題:
五則運算 (二)
[打印本頁]
作者:
陳弘修
時間:
2020-9-19 10:04
標題:
五則運算 (二)
public class Ch02
{
public static void main(String args[])
{
System.out.println("5+3="+(5+3));
System.out.println("5-3="+(5-3));
System.out.println("5*3="+(5*3));
System.out.println("5/3="+(5/3));
System.out.println("5%3="+(5%3));
}
}
複製代碼
作者:
黃柏智
時間:
2020-11-5 18:29
import java.lang.System;
public class Ch03
{
public static void main(String args[])
{
System.out.println("5+3="+(5+3));
System.out.println("5-3="+(5-3));
System.out.println("5*3="+(5*3));
System.out.println("5/3="+(5/3));
System.out.println("5%3="+(5%3));
}
}
複製代碼
作者:
龔品誠
時間:
2020-11-7 10:02
import java.lang.System;
public class Ch03
{
public static void main(String args[])
{
System.out.println("5+3="+(5+3));
System.out.println("5-3="+(5-3));
System.out.println("5*3="+(5*3));
System.out.println("5/3="+(5/3));
System.out.println("5%3="+(5%3));
}
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2