Toggle navigation
Courses
Questions
Tags
Users
Coding (Chinese: if/else #2)
3
like
0
dislike
306
views
寫一個程式讀入三個平面上的點座標, 然後印出其中距離原點最遠的點. 如果兩個或多個點有相同的距離, 輸出最先出現的點座標.
Sample Input:
3 4 5 0 0 5
Sample Output:
3
4
參考書籍:由片語學習C程式設計
chinese
coding
if
else
[Normal]
Coding (C)
-
asked
Feb 5, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21828 -
Available when:
Unlimited
-
Due to:
Unlimited
|
306
views
comment
Please
log in
or
register
to add a comment.
1
Answer
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int main()
{