Toggle navigation
Courses
Questions
Tags
Users
AD practice 1
0
like
0
dislike
3.7k
views
請設計一個程式,讓使用者輸入三個整數數字,程式會輸出三個數當中最大的那個
範例輸入:
-10 5 99
範例輸出:
99
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13021 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.7k
views
comment
Please
log in
or
register
to add a comment.
54
Answers
0
like
0
dislike
Hidden content!#include<stdio.h>
* * * * **** ** **
int main()
{
*** * * * * ** * ** * a = 0 , b = 0 , c = 0 ;
* * * * * * * * * * * x ;
** * ** * * ** * * * * * *
* ** * * * * * * * * **** * * ** ** * * *** , &a , &b , &c);
* * *** * * * * * ** * *** *
* ** * **** * * * * * * * * * ** * * * && (a>c))
** * ** * * * * * * * * * * * * *
* ** ** * * * *** ** * * * * * * * * * ** * ** && (b>c))
** ** * * * *** * * * ** * **** ** *
* * * ** *** * ** ** * ** * * * * * * * * * * && (c>b))
* * ***** * * * ** ** * * * * * *
* ** * *** * **** * *
** * * * * *** ** *** ***