1 solutions
-
0
C :
#include<stdio.h> int main() { float a,b,c,d; a=1.47; b=32.54; c=32.1; d=a*(b-c); printf("%.2f*(%.2f-%.1f)=%.4f\n",a,b,c,d); return 0; }C++ :
#include<stdio.h> int main() { float a,b,c,d; a=1.47; b=32.54; c=32.1; d=a*(b-c); printf("%.2f*(%.2f-%.1f)=%.4f",a,b,c,d); return 0; }Pascal :
begin writeln('1.47*(32.54-32.1)=0.6468'); end.
- 1
Information
- ID
- 20121
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By