问题描述 |
---|
Calculate a × b. |
输入描述 |
The input will consist of a series of pairs of floating point numbers a and b,separated by a space, one pair of floating point numbers per line. |
输出描述 |
For each pair of input floating point numbers a and b you should output the product of a and b in one line,and with one line of output for each line in input. Output should be rounded to 3 digits after decimal point. |
样例输入复制样例 |
1.1 1.1 1 0 1.234 5.678 |
样例输出 |
1.210 0.000 7.007 |
提示说明 |
printf("%.3f", a*b); |
相关 |