Toggle navigation
Courses
Questions
Tags
Users
AC 20160921 作業2
0
like
0
dislike
6.1k
views
請撰寫一程式,請適用者輸入一個分數(0-100)後判斷是pass或是fail,將結果輸出於螢幕上
[Exercise]
Essay (Open question)
-
asked
Sep 21, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11341 -
Available when:
Unlimited
-
Due to:
Unlimited
|
6.1k
views
comment
0
0
Called for Help
Please
log in
or
register
to add a comment.
99
Answers
0
like
0
dislike
Hidden content!
***** *** **
** * * * *
main()
{
float grade;
* ***** ** ***** *** * ** **** *** *** * * * * * * *
** **** * * * * ** ** * * ****
if (grade>=60)
{
** * * * * * * ** * *** *** *** * ***** * * * * * * *
*** * ** ** * *
else
{
** * * * * ** * * * ****** * ** ** *** * ** * * * * ** *
* * ** * * * ** **
* ** *** **** * *** ** * ***
}
answered
Sep 21, 2016
by
Gulang
(
-122
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include * * *
#include ******* *
main()
{
* ** *** ** * * ** x;
** ***** ** * * * ** ***** ** * **** *** ****** *
* ** * *** * * ** * **** &x);
** *** ** * ***** (x >= 60)
* * * ** * * *
*** *** * ****** *** ** ***** *** * ** * P A S S ");
* * * * * * ** ***
**** ** ** ***** *
* ***** **** * **
** *** * * ** * * * * ** **** ** F A I L ");
** ** ** * ** * *
}
answered
Sep 21, 2016
by
410523009
(
180
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include<stdio.h>
main()
{
*** * * ** *** ** *** grade;
**** * * * * ** * * * ** * ** *** * *** ***** **
**** **** ***** * * * *** * *** &grade);
** ** *** **** * (grade <60)
* * * *** **
* ** * *** **** * * * ** * * ** *** * * *** *** * **** * * * grade);
* ********* **** ***** * * * ** *** * * ****
}
* * * *** * * *
* * * **** *
* **** **** * ** * * * **** * *** * **** * ** ** ** grade);
** ** * * * ** * * ** * * ** * *** * * ** ***
* **** ***** ******
}
answered
Sep 21, 2016
by
410425044
(
-114
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() {
* *** * ** * ** * ** ** score=0;
** * **** * *** ** * ***** ** * * *** ** **
*** ** * * ** ** ***** (score>100||score<0){
* * **** * **** *** *** *** *** * *** * * ** ** *** * ** ** * *
** ****** ** * **
**** ******* ** ** ** * * if (score>=60){
* * * * **** *** * *** * * ** ** * ** * * * ** *****
}
* *** * * ** * * *
* ** * * * ** * * * * ** * ** * * * * ** *** ***** ********
* * ** * * * * **
****** **** *** ***** * *** 0;
}
answered
Sep 21, 2016
by
HoMingJui
(
-126
points)
reshown
Oct 5, 2016
by
HoMingJui
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include ****** ** *
#include *** * * * *
main()
{
*** * **** ** * * score;
* * ** * **** *** ** * **** * * * * *****
** * ** ******* ** ** * * * ** * * &score);
* **** * ** * ** ** (score >=60)
* ** * * * ****** * ** * ** ** ** ** ;
** * ***** * * * **
***** * * **** * * * * * * ;
* **** * * ***** **
answered
Sep 21, 2016
by
wilson0121
(
-74
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>
main()
{
* * ** * * ** * ** num ;
* * **** * *** ** * ** * * *** ** * ** * **
* ** ** * * * ** * ** &num);
* *** * * * ** ** ** * (num>=60)
**** * *** ***** **
***** ** * ** ** * **** * * * * ** ** * * *** * ***
*** **** * * * **
* ** ** * ** * ** *
** ** * *** * ** * *
* *** * * * ********* ** * * * * **** ** ** ** * * *
******** * * * **** * ** *
}
answered
Sep 21, 2016
by
410523012
(
-158
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include * * ** ** **
#include ** ** ** *
main()
{
* ** * * * * * score;
* * ** ** ** *** * * *** * * **** *** **** *
* * * *** * ****** * * ** * &score);
**** ** * ** * * (score >=60)
* *** * * * * * * * * * ** ;
*** * ** **** ** **
**** * * * ** * * ***** ** * * ** * ;
* * * *** **** *
answered
Sep 21, 2016
by
wilson0121
(
-74
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include<stdio.h>
** *** * ** ** * **
main()
{
*** ******** **** * ** score=0;
*** * ******** * * * * * * ** \n");
** ** * *** *** *** * * * ** * * ****** ** * * ****
**** * *** * * * * * *** * >= 60)
** ** * * ** * ** *** ** **** **
***** * ** * *
* * * ** * * * * * * * * * ** * ** ** **** * *** ** *** **
}
answered
Sep 21, 2016
by
周偉智
(
44
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
* **** * *
int * **
{
int
******** * ** * * *** );
if * ** * 60 * * * *** 100 ){
**** * * ** *** * * ** ** * *** *
}
else if * * ** 60 * ** * ** ** 0){
** * ** * * * * ** * *** *** * ***** **
* ** (0);
}
answered
Sep 21, 2016
by
loyfree0706
(
-216
points)
edited
Oct 5, 2016
by
loyfree0706
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
...
7
8
9
10
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.71.254.164
©2016-2025
Related questions
0
like
0
dislike
121
answers
AC 20160921 作業1
[Exercise]
Essay (Open question)
-
asked
Sep 21, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11340 -
Available when:
Unlimited
-
Due to:
Unlimited
|
7.1k
views
1
like
0
dislike
48
answers
AC 20161102 作業2
[Exercise]
Essay (Open question)
-
asked
Nov 2, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16865 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.9k
views
0
like
0
dislike
76
answers
AC 20161019 作業 2
[Exercise]
Coding (C)
-
asked
Oct 19, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 14120 -
Available when:
Unlimited
-
Due to:
Unlimited
|
5.2k
views
0
like
0
dislike
91
answers
AC 20161013 作業 2
[Exercise]
Coding (C)
-
asked
Oct 13, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 13617 -
Available when:
Unlimited
-
Due to:
Unlimited
|
5.8k
views
0
like
0
dislike
201
answers
AC 20161005 作業 2
[Exercise]
Coding (C)
-
asked
Oct 5, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 12293 -
Available when:
Unlimited
-
Due to:
Unlimited
|
11.3k
views
12,783
questions
183,442
answers
172,219
comments
4,824
users