- 最後登錄
- 2023-5-3
- 在線時間
- 0 小時
- 註冊時間
- 2009-4-8
- 閱讀權限
- 20
- 精華
- 0
- UID
- 6155800
- 帖子
- 1422
- 積分
- 139 點
- 潛水值
- 18538 米
| 如果發覺自己無法使用一些功能或出現問題,請按重新整理一次,並待所有網頁內容完全載入後5秒才進行操作。 問題是這樣的:Write a program that reads five numbers (each between 1 and 30).Assume that the user enters only valid values.For each number that's read, your program should print a line containing that number of adjacent asterisks.For example,if your program reads the number 7, it should print *******.
中譯:例如我打五個數字 1 2 4 6 8,必須秀出*(跳一行)**(跳一行)****(跳一行)******(跳一行)********
麻煩高手教學,有點不太會,小弟我一定十分感謝... |
|