標題:
五則運算 (二)
[打印本頁]
作者:
陳品肇
時間:
2019-8-10 13:12
標題:
五則運算 (二)
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));
}
}
複製代碼
作者:
吳孟修
時間:
2019-8-10 14:48
import java.lang.System;
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));
}
}
複製代碼
作者:
吳孟書
時間:
2019-8-10 14:48
import java.lang.System;
public class Ja{
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));
}
}
複製代碼
作者:
田宇任
時間:
2019-8-10 14:50
import java.lang.System;
public class king{
public static void main(String [] args){
System.out.println("8+3="+(8+3));
System.out.println("8-3="+(8-3));
System.out.println("8*3="+(8*3));
System.out.println("8/3="+(8/3));
System.out.println("8%3="+(8%3));
}
}
複製代碼
作者:
湯郡一
時間:
2019-8-10 14:52
import java.lang.System;
public class HelloWorld {
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));
}
}
複製代碼
作者:
洪寬瀧
時間:
2019-8-10 14:53
import java.lane.System;
public class ch02 {
public static void main (string [] args) {
System.out.println("5+6="+(5+6));
System.out.println("5-6="+(5-6));
System.out.println("5*6="+(5*6));
System.out.println("5/6="+(5/6));
System.out.println("5%6="+(5%6));
}
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/)
Powered by Discuz! 7.2