星期一, 2月 23, 2009

Homework 2-23-2009

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.

35 則留言:

Unknown 提到...

資工四乙 9427208 黃崇傑

匿名 提到...

電子三甲 9526136 吳哲維

匿名 提到...

9526203 電子三乙 王介君

匿名 提到...

資工四乙 9427203 葉家豪

匿名 提到...

電子四丙 9426353 吳冠廷

匿名 提到...

9626310 電子二丙 藍威長

匿名 提到...

電子三甲 9526133 彭榜揚

s9526134 提到...

電子三甲 9526134 李政洵

匿名 提到...

電子2甲9626104陳彥瑋

匿名 提到...
作者已經移除這則留言。
test 提到...

電子三乙 9526215 吳國志

dale 提到...

電子2丙9626358陳柏瑞 homework#2

大Q 提到...

電子二甲 9522154 周怡君

匿名 提到...

9528231 電機三乙 吳舒旻

匿名 提到...

電子三乙 9526239 王聖傑

匿名 提到...

電子二乙9626215廖姿雅

匿名 提到...

電子二甲 9626126 王柏仁

匿名 提到...

電子二甲 9626155 張鴻彬

匿名 提到...
作者已經移除這則留言。
匿名 提到...

電子二丙 9626315 陳子傑

匿名 提到...

黃士誠 電子二丙 9626325

匿名 提到...

9626242 電子二乙 黃涴徽

匿名 提到...

電子二乙 9626240 林庚諭

匿名 提到...

電子二丙9626320林共兼homework#2

鮪魚 提到...

電子二丙 9626360陳威宇

匿名 提到...

電子二丙 9626302 王竣右

迪西 提到...

9526336 電子三丙 江季軒

匿名 提到...

電子四丙粱翰剛

匿名 提到...

電子三乙 9526242 陳柏瑞

匿名 提到...
作者已經移除這則留言。
匿名 提到...

9626203 電子二乙 鄭曜鐘

匿名 提到...

電子二甲 9626126 王柏仁

Ilikepie 提到...

9526155 電子三甲 胡國治 homework-2

匿名 提到...

電子二乙 9626260 郭家源

匿名 提到...

9626250 施博鐘 電子二乙