Toggle navigation
Courses
Questions
Tags
Users
AC practice 2
0
like
0
dislike
1.2k
views
請設計一個程式,使用者輸入一個整數,程式會判斷該數是奇數還是偶數
輸入範例1:
10
輸出範例1:
even
輸入範例2:
99
輸出範例2:
odd
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13023 -
Available when:
Unlimited
-
Due to:
Unlimited
|
1.2k
views
comment
Please
log in
or
register
to add a comment.
49
Answers
0
like
0
dislike
Hidden content!#include<stdio.h>
* * * **
int main()
{
* ***** * * **** a = 0
* * **** * * ** ** **
* * * ** ** * * *** * * * *** * ** ** * ** * * &a);
*** * ** * * * ** * * ***
** * * * ** **** * a % 2 == 0)
** ** * * ** * * * * * * * * ******* * * *
* * * **** ** ** ** * * * **
* * * * * ** ** * ** ** ** * * ** * *
*** ** * * ** *** ** * ** 0;
}
answered
Oct 19, 2016
by
410342026
(
-105
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!#include <stdio.h>
#include * * * * * **
int main()
{