Toggle navigation
Courses
Questions
Tags
Users
Coding (Chinese: basic #4)
2
like
0
dislike
175
views
寫一個程式讀入一個正整數。如果該整數為3的倍數但不為5的倍數則輸出1,或是為5的倍數但不為3的倍數則輸出1,其他狀況均輸出0。例如如果輸入為18或10,則輸出為1。如果輸入為60或11,則輸出為0。
參考書籍:由片語學習C程式設計
basic
coding
chinese
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21769 -
Available when:
Unlimited
-
Due to:
Unlimited
edited
Jan 18, 2017
by
The Contributor
|
175
views
comment
Please
log in
or
register
to add a comment.
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.70.127.103©2016-2024
Related questions
2
like
0
dislike
0
answers
Coding (Chinese: basic #10)
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21777 -
Available when:
Unlimited
-
Due to:
Unlimited
|
206
views
basic
chinese
coding
2
like
0
dislike
0
answers
Coding (Chinese: basic #9)
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21776 -
Available when:
1899-12-31 00:00:00
-
Due to:
Unlimited
|
198
views
basic
chinese
coding
2
like
0
dislike
0
answers
Coding (Chinese: basic #8)
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21775 -
Available when:
Unlimited
-
Due to:
Unlimited
|
206
views
basic
chinese
coding
2
like
0
dislike
0
answers
Coding (Chinese: basic #7)
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21774 -
Available when:
Unlimited
-
Due to:
Unlimited
|
235
views
basic
coding
chinese
2
like
0
dislike
0
answers
Coding (Chinese: basic #6)
[Normal]
Coding (C)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21773 -
Available when:
Unlimited
-
Due to:
Unlimited
|
208
views
basic
chinese
coding
12,783
questions
183,443
answers
172,219
comments
4,824
users