1 like 0 dislike
華氏的絕對零度是 -459.67 度,標準大氣壓下水的冰點是 32.00 度;攝氏的絕對零度是 -273.15 度,標準大氣壓下水的冰點是 0.00 度。請撰寫一程式,由使用者輸入一個華氏溫度,程式會將其轉換成攝氏溫度後輸出,請輸出至小數點後四位,第五位四捨五入。

sample input:

-10

sample output:

-23.3333
[Exercise] Coding (C) - asked in 2016-1 程式設計(一)AC by (18k points)
Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00

reshown by | 254 views
0 0
Called for Help

50 Answers

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

int *

{

float F, C;
* * ** * * * * * ***

C = ** **
*** * * ** * * ** C);

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



int main()

{
* ** ** ****** ** ** *** f, c, x;
* ** * ** * * *** * **** * * ** *** * ** * * * *
*** ** ** * ***** * * = (float) f - 32;
** *** * * ** * * * * ** = (float) x * 5/9;
* * ** ** ******* * *** ** * * ******


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

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

main()

{
* * * ** **** *** a=0 , b=0 ;
*** ** **** ** * * ** ** * ** * * *
** * * ** *** * *** ** ** ** *


*** = (a-32)*5/9 ;


****** *** ** *** * * ** b);



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



int main()

{
** * * * * ** * * * f, c, x;
* ** * *** * *** ** ** ******* * ** * *
* ******* * ***** * = (float) f - 32;
*** * **** ** ** * * ** = (float) x * 5/9;
** ***** **** * *** ****** * * **** ** ** * *


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

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


**



{

float a,b;


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


*** * **


* ***** *****







}



/* * * ** * ** *** ****
answered by (54 points)
0 like 0 dislike
Hidden content!
*** ** *** ** *
** ** *** * **



int main()

{
* * * ** *** * * ** c,d,e;
** *** *** ** ** *** * * * *** ** *** *


* *** ***** *** ** = (float) d - 32 ;
** * * * * * * ***** = (float) c *5/9;


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

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



int main(){
* **** * ** *** * *** f = 0, c = 0;
*** *** ** * *** * *** * ** ***** **** ** * * *


*** * * * ** * ** * = 1.8 * f + 32;
** * * * * * * **** * * *** ******** c);





return 0;

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



float main()

{
** * * ***** **** degree_c , degree_f;


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


** *** ** *** ** * ** = (degree_f - 32)* 5/9;
*** ***** * * * * ** *** *** ** ****
** *** * ** *** *** ****** * * ** **


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



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

#include ** ***** *** *



int main()

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

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



main()

{
* * * *** ***** *** c,f;
*** ** * * * * *** **** * * *** **
***** ** * * * = (9/5)*c + 32;
** ** **** * ** * ** * **** * ** f);
* ** * * ****** 0;

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

Related questions

0 like 0 dislike
0 answers
[Resource] asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
Available when: Unlimited - Due to: Unlimited
| 13 views
0 like 0 dislike
5 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 90 views
1 like 0 dislike
37 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 168 views
1 like 0 dislike
17 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 114 views
1 like 0 dislike
18 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 144 views
10,195 questions
107,747 answers
93,146 comments
3,262 users