3 喜歡 0 不喜歡
83 瀏覽
Write a program that declares an array of 5 integers and assigns the values 10, 20, 30, 40, and 50 to its elements. Next, the program should display the elements greater than or equal to 30.

Input:

10 20 30 40 50

Output:

30 40 50

 

References: C From Theory
[正常] Coding (C) - 最新提問 分類:Introduction to Computer Programming I (C) | 用戶: (20.9k 分)
ID: 21874 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 83 瀏覽
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.39.50
©2016-2024

相關問題

2 喜歡 0 不喜歡
0 回答
[正常] Coding (C) - 最新提問 2月 8, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21878 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 113 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] Coding (C) - 最新提問 2月 8, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21876 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 81 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 8, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21875 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 111 瀏覽
2 喜歡 0 不喜歡
0 回答
[正常] 開放式問答 - 最新提問 2月 8, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21880 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 90 瀏覽
3 喜歡 0 不喜歡
0 回答
[正常] 對錯二選一 - 最新提問 2月 11, 2017 分類:Introduction to Computer Programming I (C) | 用戶: The Contributor (20.9k 分)
ID: 21918 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 107 瀏覽
12,783 問題
183,443 回答
172,219 留言
4,824 用戶