Toggle navigation
Courses
Questions
Tags
Users
AD 20160929 作業 1
0
like
0
dislike
4.7k
views
請設計一個程式當使用者輸入一個分數(介於0-100間),程式會輸出相對應的等第
輸入範例1
100
輸出範例1
A
輸入範例2
59
輸出範例2
F
[Exercise]
Coding (C)
-
asked
Sep 29, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11603 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.7k
views
comment
0
0
Called for Help
Please
log in
or
register
to add a comment.
73
Answers
0
like
0
dislike
Hidden content!
#include <stdio.h>
main()
{
* * ** * * * * * * * *** * * grade=0;
*** * * * * ** * ** * * ** * **** ** * **** ***** &grade);
** * * * * ** ** ****** * **** ** * * * * * && grade>=90)
** ******** * **** ** * ** *** ** * * ***** * * * **
** * * * ** * * ** ** ****** **** * * * * && grade>=80)
* *** * * **** ** ** * * ********* ** **** * ***
* * * **** * ****** ****
* ** * * * * * ** *** * * * * * *** && grade>=70)
*** * ** * **** * ** * * * * * * *** * ** **
** * * ** ******* * ** ** * * * ** *
* **** * ******* *** **** *** * * && grade>=60)
** ** ***** ** * *** **** *** * * * * ** * *
****** * **** ** ** *** *
* *** ** * ** * ** * * * *** ** ** ** * && grade>=0)
*** * * **** ** * * * * *** * ** *** ***** ** *
* ** ** * ** * **** * * * * ** * * * * *** ** * * * ** ** ** *
** * * * * * **** * * *** * * *** *** * ***** * **
}
answered
Sep 29, 2016
by
z0800563
(
-30
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()
{
* * * * *** * * * **** ** score;
* * ** *** * ** * * ** **** * * ** input your score:");
******* * * **** ******** ** ** ****** *** * * &score);
*** *** *** ** * * **** * ** (score >= 90)
* **** ** * *** * * * ****** *
*** *** * ** * * * *** ** * ** * ** ** * ** * * ** * ** * ** * * * *** *
* ** ** * * ** ** * ** ** *
* * ** ** ** ***** * * * ** **** if (score >= 80)
** *** * * ** * * **** *
* * *** * **** ** *** * * ** ** * * ** * * * ** * ****** *** * *
* * ** ** *** ***** ** * *
* * * ***** ** ** * * * * *** * if (score >= 70)
*** * * *** * * ***** * *
** * ** *** * * * *** * ** * *** * * **** **** * *** ** ****** *** * **** * *
** *** * *** ***** **** ** * * ****** **
* * ** * * ** * * * * ***** if (score >= 60)
** ** ** ** * ****** ** **
* ** **** * * *** ** *** * **** * * * *** ** * ** **** ***** **
* ** ***** * ** ** *** * **
****** * * ** * * *** *** **
{
* *** * *** * * * ** * * * * ** ***** * ** * * *** * * ** ** ** * * * * *
}
* * *** ** **** ** *********** * *** ** ** **** *
*** ** *** *** ** * ** * * ** ** * * * 0;
}
answered
Sep 29, 2016
by
410314217
(
-214
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdlib.h>
#include <stdio.h>
int main()
{
int num;
scanf("%d", &num);
if (num >=90)
* * * ** * *** *** *** ** * ** *** **** **
else
*** * * * * ** **** *** * ** * ** ** * * ** (num >=80)
* ***** ** ** * *** * * * * *** * ** ** ** * * * **
*** ****** * * ****** * * ** *** *** * ****** ** *** * ****
* * * * * * ** ** ** * * ** * ** ** * * * ***** * * ******** * >=70)
** ***** * * * ***** *** * *** * *** * * * * ** * * * ** * ** ****
* *** * ** * * * *** *** * *** * * * ** * ** ** * * * ** * ****
*** * * ******* * * * ** **** * ***** ** * *** * * * * * * ** * ** ** * ** * * ** ** * ** * * *
* * * * ** *** * * * * * * * ******* ** * * ** ****** * * ** * * * * * ** ******* **** * * ** * * * * *
** * * *** ***** *** * ** ***** * * ** * ** ** **** * * * ** **** ** ***** **** * * * * *** *** ********* ** * * ***
*** * *** * * ** *** * * ** **** * * **** * **** * * * * * **** * * * **** * **** * *** * * * ** ** *** * * * **
return 0;
}
answered
Sep 29, 2016
by
410242043
(
56
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()
{
* * * *** *** * * *** ** *** * score;
**** * ********* ** * *** ** *** * * * ** * * * * * input your score:");
*** ** *** ***** ** * ** * * ** ** ***** ***** ** * &score);
* ***** * *** **** *** ** ** (score >= 90)
{
* ***** * * * ** **** * *** * ***** * * * * ** * ****** ** * * * * * * ** *
** * * * * * * ** * ** * *****
* ******** **** * * * ** * * *** * if (score >= 80)
*** * *** * * * ** **** * * ** **
******** * * * * * **** **** * * * * *** **** * * **** * * *** ***** * * *** ***
** * * * ***** * *** **** * ** **
* * * *** **** *** * ** * * ** * ** if (score >= 70)
* * ****** * * **** * ** ** ** *
*** ***** ****** ** * ** ** *** * *** **** ** * *** ** *** * ** ****
*** *** * * *** * * ***** ***
* *** *** * * * *** *** ** ** * if (score >= 60)
* ** ***** * **** * * ** ***** **
** * *** * *** * *** * * ** * ** * ** *** * * ** ** * * ** * ** ********** *
* *** * *** * ****** ** * *** *
***** * **** * ** * * *** * ****** * *
* * ** * *** ****** *** * **** *
** ** * * * *** * *** * * *** * * * *** *** **** ******** ** * ** *** *
}
**** * * *** ** ** * * * * ** * 0;
}
answered
Sep 29, 2016
by
410314217
(
-214
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 (void)
{
* * *** * * * ****** **** * * score=0;
**** * * ** * ** *** * ******
* * *** * ** ***** **** ** * input your test point:");
****** * * *** *** * *** ** ** ** ** ** * * *
** ** ** ** * ** * ** *** *** * *
** ** * * * * ** **** * **** ** ****** *
****** *** * * * ** * ** * if(score<70)
* ** * * **** ********* ** ** *****
** *** * ** * ** * if(score<80)
** * **** *** *** * * * ** ********* * * ** ***
* ** **** * ** ** * * * * * *** if(score<90)
* ** *** ** ** ** * * ******* * ** * ****
***** ****** * * * * **** * *
* * * *** * * * ** * **** ***** *
* ** * ** ** * ** **
** * ** * ** ** ** * * ** * * **** **
** ***** ** *** ******** * * ***** 0;
}
answered
Sep 29, 2016
by
410423016
(
-170
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;
** * * * * * ** ****** input your score:");
* * * * ** * * ** *** ***** * **** * *
* * * ** * ** **** * ***
{
*** * **** *** ** ******* ** *** * * * *** ** * ** ** ** *
* *** * ** ** ** *
else if(score>=80)
{
* * * * ** ** * **** * ****** ** * * *** *** * ***
** ** ** *** * * *****
* ** * * * *** if (score>=70)
* * * * ** * * ** * *
** * *** ** * * * * * * ** * * ***** ** *** * ******* ** **
*** ** * ** ** **
** ** *** ****** * * *** * if (score>=60)
** ** ***** * *** **
*** ** **** *** * * *** * ** ****** * ** * * * ** ** *
* * ** ** * * * *
* **** ******* * ** if (score<60)
* *** **** * * * * ***
** * * **** ** * * * *** * ** * ** * * * * * * *
*** **** **** * ** *
*** * * * ***** * * * * 0;
}
answered
Sep 29, 2016
by
cityhunter0412
(
-30
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;
* * ** * * * * * ** * * * * * * * *
* *** * *** ** * ** ** * **** ***** * *
**** * * * *** **** *
* *** * * * ***
* * * * *** ** ** ** **** *** * * * * ** ** ***** * * * ** * * *
}
**** * *** ** ** * if(a>=80)
** *** ** **** * ** *
** **** ******** ** * *** *** * ** ******* * *** *** * * ** * * ** *** *
*** * * * * * * * *
* * * ** ** * ** **** if(a>=70)
{
*** ** ** * *** ** * ** ** ****** ******** * * ** ** **** *
}
* **** * * * *** * if(a>=60)
** * * ******** **
**** * * ** * ** *** * * * ** ** * * **** * * *** * * **
* ***** *** ** * * *** *
* ** * * ** ** ** if(a<60)
* * ** ** * ** * ** *
*** ** ** * ** * ** * * * *** ***** **** ** ** * ** ****
}
** * * * **** * * ** ** ** * * * * *
* * * *** ** **** *** ** 0;
}
answered
Sep 29, 2016
by
410223039
(
-146
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()
{
* ** *** ** * i=0;
****** ** * ** ***** *** * ***** your grade\n");
*** * * ***** * * *** ***** * ** *****
*********** *** ***** & i<=100)
**** * ** * *
**** *** * * * **** *
** **** * *
****** ** **** *** if(i>=80 & i<90)
** * * ** * *
* * * ** ** * ** ** *** *** *
** ** ** * * ** *
**** ** ****** **** * if(i>=70 & i<80)
* *** * * * *
* *** * * * ****** * * * ** * **
* * ******** **** *
* ** * * * * *** if(i>=60 & i<70)
* * * ***
* ** * * *** ** * * ** *
**** *** * ***
* ** * * * * if(i<60)
*** * ** * ** *
* * ** * * *** ***** * * * *
* * * * *
**** *** * *** *** ** **** ** ****
** * ***** * ** 0;
****** * * ** **
answered
Sep 29, 2016
by
jack2234567
(
-190
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
* *** *******
int ***
{
int i=0;
* * * * input your grade *** **
* ** ** * ***** ** *
if ** **
***** ** * ** **
*
if ** *
* * ** *** * *
else
if * *
** * ** * * * ** *
*
if * **
* ****** ***** *
else
** **** * **** ** * *
** * 0;
}
answered
Sep 29, 2016
by
爾皓
(
-304
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()
{
** *** * * * * ** ** * ** score;
* * * * ** **** * * ***** ********* * * * ** * input your score:");
** * **** * * * * ** ******** ***** ***** * * ** &score);
* * ** * **** **** * ** * ** * ** (score >= 90)
* ** ** ** * * * ***
** *** *** **** * * * * * * * ** * ***** * ****** *** **** * ** * ***
* ** ***** * * * * * * ** ****
** ** * * *** * *** * * *** ** * * * * if (score >= 80)
** ** * * * * ** ** ** ** ** *
* *** *** ** * * **** * **** ***** ** * * * * ** **** * * **** ****** **** *
* * * ** * *** * *** * * * * * * *** **
* * * * ****** * * ** *** * if (score >= 70)
*** ** **** *** * **** * **** * **
* * * * * ** * * * ** ** * * ** * *** ** * **** * *
* * ** *** * * * * ** *** * ** * **
** ** ***** *** **** * *** * * ** if (score >= 60)
** ** *** *** * ****** * *** * * ** *
* * ****** * *** * * * *** * * * * ** * ** **** ** ** ** *** *** *
** **** * **** * * ***** **** *
** *** ** **** ** * ** * *** * * * * *
{
* *** * * *** * **** ***** **** * * *** * ** * * * * * *** *** ***** *
}
**** * * * * **** * ** * * ** * *** ** * * **** ** * ***
* ** * *** ** ** ** * **** *** ** *** 0;
}
answered
Sep 29, 2016
by
410314217
(
-214
points)
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
2
3
4
5
6
7
8
next »
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.70.130.212
©2016-2025
Related questions
0
like
0
dislike
40
answers
AD 20160929 作業 3
[Exercise]
Coding (C)
-
asked
Sep 29, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11795 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3k
views
0
like
0
dislike
159
answers
AD 20160929 作業 2
[Exercise]
Coding (C)
-
asked
Sep 29, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11639 -
Available when:
Unlimited
-
Due to:
Unlimited
|
9.9k
views
0
like
0
dislike
26
answers
AD 20161103 作業1
[Exercise]
Coding (C)
-
asked
Nov 3, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16957 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2k
views
0
like
0
dislike
37
answers
AD 20161020 作業 1
[Exercise]
Coding (C)
-
asked
Oct 20, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 14579 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2.6k
views
0
like
0
dislike
67
answers
AD 20161013 作業 1
[Exercise]
Coding (C)
-
asked
Oct 13, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 13427 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.2k
views
12,783
questions
183,442
answers
172,219
comments
4,824
users