Toggle navigation
Courses
問題
標籤
用戶
Coding (Chinese: if/else #2)
3
喜歡
0
不喜歡
560
瀏覽
寫一個程式讀入三個平面上的點座標, 然後印出其中距離原點最遠的點. 如果兩個或多個點有相同的距離, 輸出最先出現的點座標.
Sample Input:
3 4 5 0 0 5
Sample Output:
3
4
參考書籍:由片語學習C程式設計
chinese
coding
if
else
[正常]
Coding (C)
-
最新提問
2月 5, 2017
分類:
Introduction to Computer Programming I (C)
|
用戶:
The Contributor
(
20.9k
分)
ID: 21828 -
從幾時開始:
無限制
-
到幾時結束:
無限制
|
560
瀏覽
評論
請
登錄
或者
註冊
後再添加評論。
1
個回答
0
喜歡
0
不喜歡
內容已隱藏#include <stdio.h>
#include <stdlib.h>
int main()
{