Toggle navigation
Courses
Questions
Tags
Users
AC practice 2
0
like
0
dislike
7.8k
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
|
7.8k
views
comment
Please
log in
or
register
to add a comment.
49
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include * * ** * * **
main()
{
* *** * * * * * * * * a;
**** * * * * * * * ** * * ** ** **** * ****** ** ** *
* * * ******* ** ** * * * (a % 2 == 1)
* * * * * * * * * *** * *** * * *** ** * *** ** ** * * * ** * ** *
* * * * * ** *** *** * * *
** * * **** * ** * ** ** ***** ** ** **** *** * * *** * *
}
answered
Oct 26, 2016
by
410425014
(
-162
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content! *** * ** ** * *
* * ** * * * *
int main()
{
int a;