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