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

 

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

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
| 215 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
| 212 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
| 226 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
| 230 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
| 210 views
12,783 questions
183,443 answers
172,219 comments
4,824 users