Toggle navigation
Courses
Questions
Tags
Users
AC practice 2
0
like
0
dislike
3.6k
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
|
3.6k
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;
****** ***** ** * * **** **
* * * *
{
****** **** **
}
** *
{
* * ***** ** **** ***
}
*** 0;
}
answered
Oct 26, 2016
by
Queenie0915
(
-124
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
* ***** **
* * ** **** * **
int main()
{
int a;
*** * * ** **** * ****
*** *
{
*** * ** * * * **
}
*********
{
* ** ** ******
}
*** * 0;
}
answered
Oct 26, 2016
by
Queenie0915
(
-124
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
*** ** ** *
* **** * * * ** **
int main()
{
**** * * * * i;
* * *** ** ** ** ** *** * ** ** * ** *
* ** * ***** * * ** *
*** ** **** ** ** ** * ** * * * *
**** * * * * * ** * * ***** ** *** *** * ** ** *
** ** **** * * ** **** * * ** **
** * ***** * * * *
* ** * *** * ** ** * * ** * * * * ** ****
*** * * * ** * * * 0;
}
answered
Oct 25, 2016
by
林佳慧
(
-85
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
**** ** ****** **** *
* * * **** * *
int main()
{
** * *** int
*** * * ***** ** ***** *
if ****
* * * * ******* *
else
* * * ** ****
** * * * ** system * * * ** *
** ** ** ** return 0;
answered
Oct 25, 2016
by
410523016
(
-136
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()
{
**** * * ******* ** a;
* ** * * * * **** **** * ***** *** * * ****
** * ** * * ***** ** * * (a%2==0)
***** ***** * *** ** * *** ** ** * * ******* ** ** ***
* * ** * * * * ** * * * if (a%2!=0)
** * ***** * *** ** ** * ** *** * * *** * * * ***** * *** **
}
answered
Oct 24, 2016
by
410323020
(
-85
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()
{
* ** * *** ** * a;
****** *** ** ****** *** ** **** * ** **** *
** * * * ** == 0)
*** * ** **** * *
* * *** * ** * ** * ** ***** * ** ***** *** *
* * * ** * *** * * *****
******** ** ** * ** *
**** * * * *** * *** *
* ** ** * * * ** * ** * * * * ** * * ** **
* * * ***** * * ** ***** *
******** ** *** *** ****** 0;
}
answered
Oct 24, 2016
by
李奕叡
(
-143
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()
{
**** ** * ** a;
** *** **** *** * * *** ****
* ******* * * *
* ** ****** ***
* *** *** * *** ** **** ** * * * * *** * * *** *
* * * * *** * * **
* ** * ** * ** **** ***
** * * *** *** *
* ** * * ** ** ** * * * * * **** ** * * * *
** * * ******* ** ** ** *
** ***** * *** * * ** * 0;
}
answered
Oct 24, 2016
by
李奕叡
(
-143
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()
{
**** * ** * ***** * a,b;
* * * ** * *** ** * ** **** * ** *** *
**** ** * * ** * *** **
* * * * **** **** **
* * * *** * ** ** ******** ** * * ** *** *
* * *** * * * ******** **
** * ** * * * ***
** * ****** ***** * ** * *
* **** ** *** ** * ** * ** ****** * * ** *
*** * * * * * ** ** ** ***
* * ** ** * * * * ** * 0;
}
answered
Oct 24, 2016
by
李奕叡
(
-143
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;
** ** * **** * * * * ** * * ** * &a);
* *** * * *** * ** * * * * * * * ** ******* ******** ***
**** * * * * * ** ** **** **** * * * * * *** *** ** ** ****** * ** * *** * *
* ** *** * * * * * ** * 0;
}
answered
Oct 24, 2016
by
410523049
(
-24
points)
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
2
3
4
5
next »
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.71.254.133
©2016-2025
Related questions
0
like
0
dislike
35
answers
AC practice 4
[Normal]
Coding (C)
-
asked
Oct 13, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13422 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2.7k
views
0
like
0
dislike
43
answers
AC practice 3
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13025 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.2k
views
0
like
0
dislike
39
answers
AC practice 1
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13020 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.2k
views
1
like
0
dislike
42
answers
AC 20161027 期中考 2
[Exercise]
Coding (C)
-
asked
Oct 27, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 15388 -
Available when:
2016-10-27 18:30:00
-
Due to:
2016-10-27 21:00:00
|
3.1k
views
12,783
questions
183,442
answers
172,219
comments
4,824
users