1 solutions
-
0
C :
#include<stdio.h> int main() { float F; float c; while(scanf("%f",&F)!=EOF) { c=5*(F-32)/9.0; printf("c=%.2f\n",c); } return 0; }C++ :
#include<stdio.h> int main() { float a; scanf("%f",&a); printf("c=%.2f\n",5*(a-32)/9); return 0; }Pascal :
var f:real; begin readln(f); write('c=',5*(f-32)/9:0:2); end.
- 1
Information
- ID
- 16516
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By