1. Suppose you are a landscape architect who charges $5,000 per mile to landscape a highway, and suppose you know the length in feet of the high way you are working on. Write a Java program to calculate the price you charge when the length is 6000 and 4000, respectively.
Hint: There are 5280 feet in a mile.
2. Write a Java program that displays the results of the expressions 15/4, 4/15, 15%4, 4%15. Calculate the values of these expressions manually to verify that the displayed values are correct.
資工四乙 9427208 黃崇傑
回覆刪除電子三甲 9526136 吳哲維
回覆刪除9526203 電子三乙 王介君
回覆刪除資工四乙 9427203 葉家豪
回覆刪除電子四丙 9426353 吳冠廷
回覆刪除9626310 電子二丙 藍威長
回覆刪除電子三甲 9526133 彭榜揚
回覆刪除電子三甲 9526134 李政洵
回覆刪除電子2甲9626104陳彥瑋
回覆刪除作者已經移除這則留言。
回覆刪除電子三乙 9526215 吳國志
回覆刪除電子2丙9626358陳柏瑞 homework#2
回覆刪除電子二甲 9522154 周怡君
回覆刪除9528231 電機三乙 吳舒旻
回覆刪除電子三乙 9526239 王聖傑
回覆刪除電子二乙9626215廖姿雅
回覆刪除電子二甲 9626126 王柏仁
回覆刪除電子二甲 9626155 張鴻彬
回覆刪除作者已經移除這則留言。
回覆刪除電子二丙 9626315 陳子傑
回覆刪除黃士誠 電子二丙 9626325
回覆刪除9626242 電子二乙 黃涴徽
回覆刪除電子二乙 9626240 林庚諭
回覆刪除電子二丙9626320林共兼homework#2
回覆刪除電子二丙 9626360陳威宇
回覆刪除電子二丙 9626302 王竣右
回覆刪除9526336 電子三丙 江季軒
回覆刪除電子四丙粱翰剛
回覆刪除電子三乙 9526242 陳柏瑞
回覆刪除作者已經移除這則留言。
回覆刪除9626203 電子二乙 鄭曜鐘
回覆刪除電子二甲 9626126 王柏仁
回覆刪除9526155 電子三甲 胡國治 homework-2
回覆刪除電子二乙 9626260 郭家源
回覆刪除9626250 施博鐘 電子二乙
回覆刪除