Toggle navigation
Courses
Questions
Tags
Users
AD 20160929 作業 1
0
like
0
dislike
10.5k
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
|
10.5k
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 <stdlib.h>
#include <stdio.h>
int main()
{
* * * ** * ** * ** ** * ** * ** * score=0;
* ** * * ** ** ** * * ** *** ** * * * * ** * ** * * * * * * **
*** * * * *** * ** *** * * ** * * (score>=90 & score<=100)
** * * * * * ** * * * * * * * * * *** *
* *** * * * * * * * * ** * ** * * *** * * ** * * ** *** * *** * * * ** ** * ** * * * *** * * * * ***** * * * ** * *
** * ********* * * * * * * * * * *
** * * * * * ** * * * * *** ** ** * * * * * if(score>=80 & score<90)
** * *** * * * * * ** ** * * ** *
* **** *** * * * * * ** * * * ** * * * * * ** * * * ** *** * * * *** ** ** ** * * ** * * * * * ** **** ** ** * **
* * * * * * * * * * *** * *
**** * * * *** * ** ** * * * *** ** * ** * * if(score>=70 & score<80)
* * * **** * ** ** * * * * ** ** *
* * *** * * ** *** * ** * * ** **** * * * * * * * ***** * ** * ** ** ** * * * * ** * * ** * * ** * * ***** * * ** * ** *