3 like 0 dislike
153 views
if (y < 0) x = -y; else x = y; 利用 ?: 來實現,可寫成:

 

參考書籍:旗標無痛學習教本
[Normal] Multichoice - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21837 - Available when: Unlimited - Due to: Unlimited
| 153 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.127.117
©2016-2024

Related questions

3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21945 - Available when: Unlimited - Due to: Unlimited
| 212 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21917 - Available when: Unlimited - Due to: Unlimited
| 250 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21914 - Available when: Unlimited - Due to: Unlimited
| 217 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21913 - Available when: Unlimited - Due to: Unlimited
| 233 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21912 - Available when: Unlimited - Due to: Unlimited
| 242 views
12,783 questions
183,443 answers
172,219 comments
4,824 users