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

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

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

輸入說明:

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

輸出說明:

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

24 Answers

0 like 0 dislike
Hidden content!
* * ********* ******** ** *** * ** ***
answered by (162 points)
0 like 0 dislike
Hidden content!
* * * *** * * **** *** ******* * * ** *
answered by (100 points)
0 like 0 dislike
Hidden content!
* * ** *** **** * * * *** * ** **** * *** ***
answered by (124 points)
0 like 0 dislike
Hidden content!
* ** * ****** *** ** * * * * ***** **
answered by (185 points)
0 like 0 dislike
Hidden content!
** * * **** * ***** *** * * * **
answered by (190 points)
0 like 0 dislike
Hidden content!
* ****** **** * * ** * * * *** * ** * **
answered by (215 points)
edited by
0 like 0 dislike
Hidden content!
* * * * * ****** ** * * * * ** **** * *
answered by (228 points)
0 like 0 dislike
Hidden content!
** ** ** * **** ** * * **** * *** * **
answered by (174 points)
0 like 0 dislike
Hidden content!
****** ** * **** *** ** ** ** ***** ****
answered by (160 points)
0 like 0 dislike
Hidden content!
* * *** * * ** ** ** *** * *** ** * * *
answered by (196 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.59.98
©2016-2025

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
| 2.9k 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
| 677 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
| 2k 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
| 5.3k 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
| 8.3k views
12,783 questions
183,442 answers
172,219 comments
4,824 users