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

99 Answers

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

#include * * * * **** *

main()

{
* * * ** ****** *** grade;
* * *** * ****** ** * ****** ** ***** * * * *** * * * * * *
* ** ** * ** ** ** ** * *** * ** &grade);


* * ** * ** * ** (grade >= 60.0)
*** ** *** *** ** * * * ** * * * **** * * * **
** * ****** ** * ** ** * **
* ***** * ** * * * ******* * ** **** * ** * *** * * * * * **



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

#include ** * * *



main()

  {
* *** * *** **** ** ** ***** * * g;
*** ***** * * ** **** ** * * ** ***** ** * your grade.  ");
* * * ** * * ** * ***** * * *** ** *** *
** *** ** * ** **** * (g>=60)
**** ** * * * *** * ** * ** **
* ** ** ** ** * ******** ** * *** ** * *** * * * * done.");
*** ** ** * * ***** * **** ****
** ***** **** * **** **** *
** * * * ******** ** * * * ** *
* * ** ** * *** * ** * * * ***** * * *** * **** ** *
** *** * * **** * *



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

main( )

{


** ** ** ** ******* * score;
* * * * * * * * ** * * ** * * * * * *
** **** * ** ******* * * ** ** *** * * **
* ** *** * ** *** * *

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


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



 



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

main()

{
* * * **** * * * grade;
*** * * ** * * * ** *** * ** ** enter a grade");
* ***** * * * * * ** ***** *** **** * * * ** *


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


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

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

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

#include * *** ** * *



main()



{


* * ** * * ***** num=0;
* ** * ** * * **** *** * ** * **** ** ** *
* * * * * * ** **** * ***** &num);


** * *** * ** *** ** * (num>=90)
** * * * ** ** *** ** * * * * *


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


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


****** * ** *** *** ** if * **** * * **
*** * * ***** ** ** ** * should prepare more and more");


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



}

/* * * ** * * * * *** * * * * **** **** 金家立  */
answered by (54 points)
0 like 0 dislike
Hidden content!
#include * *** *** * *

main( )

{
** ** **** * * *** *** * **** * ** **  ;
*** *** ** * * ** * * ** ** enter * * * ***
** *** * *** *** * ***** **** * * ** * * *


* ** *** * * * * * ** ** **** = %.01f \n" , score );


*** *** * * ** * ** (score <60)
* **** ***** * ** **** ** ** ** * );


* ** *** * *
* ** * ** * ** * *** * * * * ** ** * * * );

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

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

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


* **



 



main()

{

double num=0 ;
* * * * * ** * ** * * **
* * ** ** * , * *****
*** ** ***
* **** * * * ** ****** * * * * * *

else if * * ***
****** * * ** *** * *

else if *** * *
* * *** ** *** **** **

else
* ******* * * *** ***** ** ** *** * ** *

/* 410523033 陳昱璋 */

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

#include * ** ** * ***



main()

{
** ** ** * **** num, failed, passed;


** ** ** * * * * * * ** ** **** *** enter your score:");
** **** * ***** *** * * ** * ***** * &num);


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


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


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


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


* *** *****



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



main()



{
* ** *** ***** ** * ** * * ** * number;
* * * * ****** *** ** ** ** **** *** * ****
* * ***** * * * * * * ** * ** * * ** ***** &number);

     
** *** *** ** * ** * * * *****
**** ***** *** * * ** * **** (number<60)
* * ** * *** *** * * * * * * * * ** * ** * * ** *
******** * * * ** ********** * ** *** * *
*** * * * * * * * * * ** ** * *** * * *** ******

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

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

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
| 11.3k 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
| 6.2k 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
| 8.1k 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
| 9.6k 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
| 17.8k views
12,783 questions
183,442 answers
172,219 comments
4,824 users