3 like 0 dislike
85 views
寫一個程式輸入四個相異整數 A,B,C,D,使用 if…else 算出這四個數的最大數與最小數,最大數儲存在 max,最小數儲存在變數 min。

Sample Input:

1 2 3 4

Sample Output:

Max: 4

Min: 1

 

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

Related questions

3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21833 - Available when: Unlimited - Due to: Unlimited
| 91 views
3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21832 - Available when: Unlimited - Due to: Unlimited
| 83 views
3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21831 - Available when: Unlimited - Due to: Unlimited
| 98 views
3 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21830 - Available when: Unlimited - Due to: Unlimited
| 95 views
3 like 0 dislike
1 answer
[Normal] Coding (C) - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21829 - Available when: Unlimited - Due to: Unlimited
| 160 views
12,783 questions
183,443 answers
172,219 comments
4,824 users