1 like 0 dislike
5.3k views
華氏的絕對零度是 -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)
ID: 15422 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00

reshown by | 5.3k 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)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.127.171
©2016-2025

Related questions

0 like 0 dislike
0 answers
[Resource] asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15475 - 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)
ID: 15447 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 1.1k views
1 like 0 dislike
37 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15446 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 3.6k views
1 like 0 dislike
17 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15442 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 1.9k views
1 like 0 dislike
18 answers
[Exercise] Coding (C) - asked Oct 27, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 15440 - Available when: 2016-10-27 18:30:00 - Due to: 2016-10-27 21:00:00
| 1.9k views
12,783 questions
183,442 answers
172,219 comments
4,824 users