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

99 Answers

0 like 0 dislike
Hidden content!
* ** ** * *



int ******

{

int * *
** *** * * * *** * *** );

if * * 60 * ** ** grade * * * 100 ){
*** ******* * * ** *** ** * * ***** ** **

}

else if ** *** 60 ** * * ****** * ** * * ** 0){
**** ******* * * * *** * *

}
* ** 0;

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


*** ** * * * main()



{



float a;


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



if * * *



{


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



}


*** * * * * *


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


*** * 0

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



main()



{
** **** * ***** i=0;
** * * ** * * **** ** ******* ** ** *


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



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


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


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



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

int main(void)

{
* * * i;
**** * ** * * ** ** **** *** * *
* * * ** * * * **
* * * ** ****

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

 }
* * **

 {
* * ** * * * * * ** *
* *** ***** * 0;
****

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



main( )



{


** ** * * num;


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


** * *** *


* ****** *


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


* * *** *


** * *** * * *


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



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



int main()



{


** *** ** ** ** **** * *  grade;


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


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


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



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



main()



 



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


* ** ** * * * * * * ((num > 60) &&(num < 100))
** **** * ** ****** * * *
* ** * *** * * **** * *** * * * *** * * * * * * * * * ** ***


* * * * * * ** **



 


*** * * *** * * * * * * ** >= 0) **** * **** **
*** * * * * ** * ***** * * **
* ** ** * * *** * ** **** ** * * **** * ** * * * *** **


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


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



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


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



 



main()



{


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


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



 


** * ** ** * *** * * (num > 60)


*** ** ****


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


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


***** * * *** *** if(num >= 0)


**** * ** ** * *


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


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



 


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



}
answered by (-143 points)
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>

int main(void)

{
** * ***** * *** * * i = 0;
** *** ** * * ** * * ** * **
* * *** * * * ** *** ** ** *** >= 60)
**** * * ***** ** * * *** **** * ***
*** *** *** ** ** * * *

** *** * *** ***** * **** ** * *
* * * *** ***** * * * 0;
* *** * ** *** ** *

}
answered by (-8 points)
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.63.158
©2016-2021

Related questions

0 like 0 dislike
121 answers
[Exercise] Essay (Open question) - asked Sep 21, 2016 in 作業 by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 896 views
1 like 0 dislike
48 answers
[Exercise] Essay (Open question) - asked Nov 2, 2016 in 作業 by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 557 views
0 like 0 dislike
76 answers
[Exercise] Coding (C) - asked Oct 19, 2016 in 作業 by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 541 views
0 like 0 dislike
91 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 作業 by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 586 views
0 like 0 dislike
201 answers
[Exercise] Coding (C) - asked Oct 5, 2016 in 作業 by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 1.1k views
11,242 questions
134,055 answers
132,336 comments
4,120 users