切換到寬版
  • 1081閱讀
  • 0回復

求精通turbo pascal的高手指點 [複製鏈接]

上一主題 下一主題
離線夜雲
 
發帖
5872
icash
157
威望
3619
只看樓主 倒序閱讀 使用道具 樓主   發表於: 2008-09-15
— 本帖被 chy2003 從 家 課 交 流 移動到本區(2009-10-31) —
Question : A company sells computer products which are
   shown in the table below:

         Product        Unit Price
         -------        ----------
         Mother Board        $1200
         RAM Card             $500
         15G Harddisk         $800
         Mouse                $100

   Write a program that prompts customer to enter the quantity
   of each product item he wants to buy. Then display
   a bill of sale with appropriate formatting, for example:

         Item                           Unit Price  Qty        Amount
         ------                            ------------    ----       -----------
         1. Mother Board        $1200.00    1      $1200.00
         2. 15G Harddisk       $800.00      2      $1600.00
                                                                              -----------

                                                              Total :  $2800.00

   In addition to submit your program code, You are requested
   to submit a sample run, i.e. print out an example of customer's
   input and corresponding output at the end of your homework.

--------------------------------------分隔線--------------------------------------------
請問有無精通turbo pascal的高手可以救下小弟-_-r
我諗極都唔知點整orz
快速回復
限100 字節
 
上一個 下一個