Toggle navigation
Courses
Questions
Tags
Users
AC practice 2
0
like
0
dislike
6.5k
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
|
6.5k
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;
* ** * ** ** ** * * ** * ** ** * * * ** ** * enter a integer");
* * * * * * * * * ** * **** * * ** ** * &a);
** ** ** * ** * ** ** ** * ** * * ** * * *** * * * * * * ** ** * * * ** ** * * **
* * * * ** * * * ** * * ** * * * * * ** ** ** ** * ** * * ** * * ** * ** **
** ** *** ** ** *** * * * 0;
}
answered
Oct 24, 2016
by
410523049
(
-24
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!#include <stdio.h>
int main()
{
* *** * *** * * * ** * *** * ** a;
* * *** * * * * ** ** * * * *** * enter a integer ");