作者cocoyan (錐子)
看板NTUBSE-B-96
標題Re: [問題] 計程的習題~~
時間Wed Mar 5 23:54:20 2008
※ 引述《v900149 (簡諧運動的失衡萊伯拉)》之銘言:
: 如題
: 這是在問計程的習題
: 別告訴我是3-21
: 因為中文版跟英文版的題目不大一樣..= =||
: (版本不同!?)
: 所以要問問題目的內容~~~
: 今後的作業可能都要麻煩用英文版的大大PO一下題目了~~~
: 恩 就是這樣了....謝謝各位的幫忙...
The process of finding the largest number(i.e.,the maximum of a group of
numbers) is used frequently in computer applications. For example, a program
that determines the winner of a sales contest woule input the number of units
sold by each salesperson. The salesperson who sold the most units wins the
contest. Write apseudocode program and then a program that inputs a series of
10 numbers and determnes and prints the largest of the numbers.
[Hint:Your program should use three variables as follows]:
counter: Acounter tocount to 10 (i.e.,to keep track of how many numbers have
been input and to determine when all 10 numbers have been processed)
number: The current number input to the program
largest: The largest number found so far
--
如果我們具有磁場,
則當我們每次經過電冰箱門的時候,
我們都可能會與冰箱門撞在一起,
所以人的身體不具有磁場是有其優點的。
節錄自Fundamentals of Physics 7ed by Halliday&Resnick&Jearl Walker
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.242.26
→ AxisAxes:要我不叫你C哥都難 03/05 23:58
推 v900149: 要我不叫你C哥都難 03/06 00:03
推 Marok: 要我不叫你C哥都難 03/06 00:08
推 leo78325:要我不叫你C哥都難 03/06 00:11
推 weide6571: 我不叫你C哥都難 03/06 00:30
推 kerott: 要我不叫你C哥都難 03/06 00:48
推 joydante:我是道道地地的台灣人 有沒有中文翻譯ˊˇˋ 03/06 21:33
推 cities:我找到3.24 這應該是這題的翻譯吧^^ 03/07 17:40
推 joydante:劭宇真是有夠帥的! 03/08 08:17
推 v900149:原來大同是人見人愛又見人愛人.... 03/08 10:58
推 v900149:是我太笨嗎?? 這次的作業好難寫.... 03/09 01:42
→ AxisAxes:笨不是笨在你不會寫 我們班有C哥在那裡不問?? 03/09 07:36
→ AxisAxes:他C哥當然不是當假的 03/09 07:37