1 like 0 dislike
1.1k 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 | 1.1k views
0 0
Called for Help

50 Answers

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





int main(){
* ** * ** ** * **** * ** x=0;
***** *** *** ** * * * * ** * * * * ******* * *
* *** *** * *** ** * **** ** ** * ** ** ** ** * *


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

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


* **



{

float a,b;


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


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


** * * ** * *







}



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






{

float a,b;


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


* * ** * * *


** ** * ** * * *







}



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


***



{

float a,b;


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


*** * *** *


* * * * *** * **







}



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



int main()



{


** * ** * * n, k;


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


** * ****** * = ** **


***** *** * * * * * * * * * k);


** * ******** ** 0;
* ** * * **
answered by (-276 points)
0 like 0 dislike
Hidden content!
#include ** ** ** *



int main()



{


*** **** ** * **** n, k;


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


* ** * ** = ***


* ** **** * *** * * k);


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

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



int main()

{
** ** **** ** **** ** *** f,an=0;
* * *** * ***** * ** * **** * ** * **** ** *
** *** * * ********* * * *** * *** **
** * *** * * * * * *** ** * ** ** * * *






* ** * * ** * * 0 ;



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



int main()



{


* ** * ** * ** n, k;


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


* * * ** * = * *


***** * *** * **** * * * * k);


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

int main()

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




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





return 0;

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



int main()

{
* *** * ** * * *** * c,f;
** * * *** ** * * *** *** ** ** * * ** *
** * ** **** * * ** = (f + 459.67) * 273.15 / 491.67 *
* *** * * **** ** *** * * ** *** * * * *



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

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
| 242 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
| 641 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
| 419 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
| 419 views
12,783 questions
183,443 answers
172,219 comments
4,824 users