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

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

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

輸入說明:

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

輸出說明:

    請輸出一個正整數,代表小明每天最多可以吃到幾支冰棒
[Exercise] Essay (Open question) - asked in 2017-1 程式設計(一)AD by (31.3k points)
ID: 27643 - Available when: Unlimited - Due to: Unlimited
| 607 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.110.198
©2016-2022

Related questions

1 like 0 dislike
25 answers
[Exercise] Essay (Open question) - asked Oct 19, 2017 in 2017-1 程式設計(一)AD by 楊修俊 (31.3k points)
ID: 27642 - Available when: Unlimited - Due to: Unlimited
| 630 views
1 like 0 dislike
3 answers
[Exercise] Multichoice - asked Oct 19, 2017 in 2017-1 程式設計(一)AD by 楊修俊 (31.3k points)
ID: 27641 - Available when: Unlimited - Due to: 2017-10-19 14:30
| 123 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
| 418 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
13,413 questions
202,742 answers
183,587 comments
4,966 users