標題:
五則運算 (二)
[打印本頁]
作者:
tonyh
時間:
2012-7-28 16:34
標題:
五則運算 (二)
本帖最後由 tonyh 於 2012-7-28 16:40 編輯
利用+號, 將資料串接起來.
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
t3742238
時間:
2012-7-28 16:44
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
t2364705
時間:
2012-7-28 16:44
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
尤泓鈞
時間:
2012-7-28 16:47
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
蔡昀佑
時間:
2012-7-28 16:49
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3*5="+(3%5));
}
}
複製代碼
作者:
劉漢文
時間:
2012-8-7 15:31
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
粘靖瑜
時間:
2012-8-10 11:04
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
作者:
黃博鴻
時間:
2012-10-6 14:33
public class ch3
{
public static void main(String args[])
{
System.out.println("3+5="+(3+5));
System.out.println("3-5="+(3-5));
System.out.println("3*5="+(3*5));
System.out.println("3/5="+(3/5));
System.out.println("3%5="+(3%5));
}
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2