3 like 0 dislike
180 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
| 180 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.58.51
©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
| 238 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
| 277 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
| 247 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
| 262 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
| 271 views
12,783 questions
183,443 answers
172,219 comments
4,824 users