游客 Signup | Login
中文 | En

2428 - 混合运算

写一个程序,计算1.47*(32.54-32.1)值,并在计算机屏幕上输出。
要求输出结果后再输出一个换行符。

Input

本题无输入。

Output

写一个程序,计算1.47*(32.54-32.1)值,并在计算机屏幕上输出。结果保留4位小数。
要求输出结果后再输出一个换行符。

Examples

Input

本题无输入样例

Output

0.6468

Solution 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("%.4f",d);
	return 0;
}

Solution 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("%.4f\n",d);
	return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题