1 like 0 dislike
599 views
巷口的雜貨店在舉行周年慶活動,三根冰棒棍可以換一支冰棒,冰棒一隻賣30元。

小明是一個很愛吃冰棒的小朋友,小明每天的零用錢是 x 元

請寫一隻程式幫助小明知道他每天最多可以吃多少冰棒

輸入說明:

    程式會要求使用者輸入小明每天的零用錢金額

輸出說明:

    請輸出一個正整數,代表小明每天最多可以吃到幾支冰棒
[Exercise] Essay (Open question) - asked in 2017-1 程式設計(一)AD by (30k points)
ID: 27643 - Available when: Unlimited - Due to: Unlimited
| 599 views

24 Answers

0 like 0 dislike
Hidden content!
* * ** *** *** *** *** * * * *
answered by (240 points)
0 like 0 dislike
Hidden content!
**** * *** * * * * * ** * * *** * ** *
answered by (138 points)
0 like 0 dislike
Hidden content!
**** ** * * ****** *** *** * * **** * * ** *
answered by (224 points)
0 like 0 dislike
Hidden content!
* ** ** ** ** * * * *** ***** ** * **
answered by (124 points)
0 like 0 dislike
Hidden content!
* ** * ***** * *** * ** * *** * * ***
answered by (212 points)
0 like 0 dislike
Hidden content!
** **** ***** * * * * **** *** ** * *** *
answered by (144 points)
0 like 0 dislike
Hidden content!
* ** ** * * ** *** * * *** ** * * **
answered by (-38 points)
0 like 0 dislike
Hidden content!
* * * * * ** ** * * *** * **
answered by (136 points)
0 like 0 dislike
Hidden content!
*** * * * * * * * ****** * *
answered by (194 points)
0 like 0 dislike
Hidden content!
* ** * * * * * * * * * * ** * * **** * * *
answered by (236 points)
edited by
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.131.166
©2016-2024

Related questions

1 like 0 dislike
25 answers
[Exercise] Essay (Open question) - asked Oct 19, 2017 in 2017-1 程式設計(一)AD by 楊修俊 (30k points)
ID: 27642 - Available when: Unlimited - Due to: Unlimited
| 620 views
1 like 0 dislike
3 answers
[Exercise] Multichoice - asked Oct 19, 2017 in 2017-1 程式設計(一)AD by 楊修俊 (30k points)
ID: 27641 - Available when: Unlimited - Due to: 2017-10-19 14:30
| 118 views
3 like 0 dislike
6 answers
[Exercise] Coding (C) - asked Nov 30, 2017 in 2017-1 程式設計(一)AD by Shun-Po (18k points)
ID: 34979 - Available when: Unlimited - Due to: Unlimited
| 371 views
3 like 0 dislike
20 answers
[Exercise] Coding (C) - asked Nov 16, 2017 in 2017-1 程式設計(一)AD by Shun-Po (18k points)
ID: 33758 - Available when: Unlimited - Due to: Unlimited
| 1k views
2 like 0 dislike
31 answers
[Exercise] Coding (C) - asked Nov 9, 2017 in 2017-1 程式設計(一)AD by Shun-Po (18k points)
ID: 31088 - Available when: Unlimited - Due to: Unlimited
| 1.4k views
12,783 questions
183,443 answers
172,219 comments
4,824 users