3 like 0 dislike
187 views
假設 ch 的型別為 char。先利用 ch = getchar(); 取得使用者的輸入,然後判斷這個輸入是不是等於 '\n',也就是 ch != \n',現將兩個敘述寫成一行為  $1

 

參考書籍:旗標無痛學習教本
asked in Introduction to Computer Programming I (C) by (20.9k points) | 187 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.175.119
©2016-2023

Related questions

4 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21894 - Available when: Unlimited - Due to: Unlimited
| 197 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 6, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21856 - Available when: Unlimited - Due to: Unlimited
| 199 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 6, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21855 - Available when: Unlimited - Due to: Unlimited
| 199 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21849 - Available when: Unlimited - Due to: Unlimited
| 184 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21841 - Available when: Unlimited - Due to: Unlimited
| 193 views
15,029 questions
243,060 answers
215,948 comments
5,696 users