0 like 0 dislike
4.4k views
請撰寫一程式,請適用者輸入一個分數(0-100)後判斷是pass或是fail,將結果輸出於螢幕上
[Exercise] Essay (Open question) - asked in 作業 by (18k points)
ID: 11341 - Available when: Unlimited - Due to: Unlimited
| 4.4k views
0 0
Called for Help

99 Answers

0 like 0 dislike
Hidden content!
#include<stdio.h>
*** **** ***



main()

{
* * * ** * ****** **** num=0 , pass ,fail;


* ** ** ** * * * ** * *** * * * ** *** **
** ***** ** * ** ******** * * * * &num);


* * * * * * (num<=60)

   {
* ** ** ** * * *** *** ******** *** * ****** * **** *****
* * * * * * *
* * * * **** * ** **
* **** * **
* * ** * * *** **** *** *** ** ** *** ** * ***** ***
** * *** *****


**** * ** * **** ** * *

}
answered by (-143 points)
0 like 0 dislike
Hidden content!
#include <stdio.h>

#include <stdlib.h>



main()

{
*** ** ***** * * * * * * * * ** *** G;
**** **** **** * * * **** *** ** * ***** ** ** * ** ** ** *
* * ** ** *** ** * *** * * **** * * * * * &G);
* ** *** * ** * * * * * * * * >= 60)
***** **** ******* * ** * *** * **
** *** * ** ** ** * * ** * * *
* * * *** * * *** * * * * ** * * *
* ** ***** * ** ** * * **** * ** ** ***

      {
** ** * * * ** *** * *** * * *** * * * * ***
** *** *** ** * ***** *
* ** *** **** ** * ***** * * * *** * * **** ** * **** **

}
answered by (-100 points)
0 like 0 dislike
Hidden content!
** *
***
*
** * ;
*** * * * **** * *
** * ** * ** * ** **

**** * *

* ** ** * ***

* **
* *
** * * * ****
* *
}
answered by (-383 points)
0 like 0 dislike
Hidden content!
#include<stdio.h>
*** *** * * * ***



main()

{
** *** ** *** ** ** ** * num,abs;
**** ** * * * * * * ** * enter a number:");
** * * ** * ** ** ** ** * * * * &num);


* ** * *** * *** * * * *** * ** * ** *
** * * ** ** **
** ** ** * **** * *** ** * ***** * * ***
** ******* *
* * **** *
** * * * * *
* *** * ** ***** *** ** * * ** * *** * *
** * * * * *** *



}
answered by (14 points)
0 like 0 dislike
Hidden content!
****** *** *****
* * *** **** *



main()

{



float * *
** ** * * * your ** ** * *


* * ****** * * ** * ** **


*** * ** *

{
*** **** ** **** ** *



}

else *******



{
*** *** * * *** **

}



else ** * * ***

{
* *** * ****** ** *

}

else * * *

{
* ** ** * ** ** **** **

}



else

{
* ** ** ** * ** * **** *

}



}
answered by (-248 points)
0 like 0 dislike
Hidden content!
**
* ** *
{
**
***** ** * * * * * * = **
**** * * ** ** *

if * **
****** ****
* *
** * * * * * * *** *

}
answered by (-124 points)
0 like 0 dislike
Hidden content!
*** **** *** ****
** * **** * ******



main()

{
* ***** * * * * grade=0;


*** ** ***** * ** * * ** **** * enter your grade:\n");
** * ** * ** * *** ** * * * ***** * ** &grade);


* * *** * ** ** **** (grade < 60)
* * ** ** * * *** **
*** *** *** ** ** * **** *** ** * ** ** * * ** * * ** * * , 未通過", grade);
* ** * * **** *** ****
*** * ** ** **** * * ** *
* *** * * * **** * *** *
* * ** **** *** * **** * ** **** ** * * * *** *** %f , 通過", grade);
** * * ** *** *



}
answered by (-105 points)
0 like 0 dislike
Hidden content!
#include<stdio.h>
* * * * ** * *



main()

{
**** * * ** * * ** x;


* * ** * **** ** *** * * ** * *
* * * *** ** **** * * * *** ** &x);


* * ******* *** (x >=60)
** * * * ******* ***
****** * **** * * **** * * * * ** * **** ** A S S");
*** * * ** ** *
* * ** *** ** ****
**** * * ***
* * ****** * **** ** * ** *** ***** * A I L");
** * * ***

}
answered by (152 points)
0 like 0 dislike
Hidden content!
** * ****
*
{
* s;
* ** * * *** * * * *
* *** * ** * *
** * *
* * *** * **

}
* *
** ** ** * * *

}
answered by (-98 points)
0 like 0 dislike
Hidden content!
#include *** * **** *****

main( )

{
** * * * ** ** num;
* **** * ** *** * ** enter a number:");


** **** ** * ***** * *** * &num);
* ** * * ** * ** *
* * * ** **
* * **** * * * *** *** *
**** * * **** *
* * ** **** * *
** * * * ** * * * ** ** ** **



}
answered by (43 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:108.162.216.43
©2016-2024

Related questions

0 like 0 dislike
121 answers
[Exercise] Essay (Open question) - asked Sep 21, 2016 in 作業 by Shun-Po (18k points)
ID: 11340 - Available when: Unlimited - Due to: Unlimited
| 5.2k views
1 like 0 dislike
48 answers
[Exercise] Essay (Open question) - asked Nov 2, 2016 in 作業 by Shun-Po (18k points)
ID: 16865 - Available when: Unlimited - Due to: Unlimited
| 2.6k views
0 like 0 dislike
76 answers
[Exercise] Coding (C) - asked Oct 19, 2016 in 作業 by Shun-Po (18k points)
ID: 14120 - Available when: Unlimited - Due to: Unlimited
| 3.5k views
0 like 0 dislike
91 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 作業 by Shun-Po (18k points)
ID: 13617 - Available when: Unlimited - Due to: Unlimited
| 4.2k views
0 like 0 dislike
201 answers
[Exercise] Coding (C) - asked Oct 5, 2016 in 作業 by Shun-Po (18k points)
ID: 12293 - Available when: Unlimited - Due to: Unlimited
| 8.1k views
12,783 questions
183,443 answers
172,219 comments
4,824 users