#P29. 判断两个浮点数是否相等
判断两个浮点数是否相等
题目描述
给定三个双精度浮点数和,请判断的值是否等于,如果满足条件输出Yes
,否则输出No
。
0.1 0.2 0.3
Yes
给定三个双精度浮点数a,b和c,请判断a+b的值是否等于c,如果满足条件输出Yes
,否则输出No
。
0.1 0.2 0.3
Yes
By signing up a 芯晴花园 universal account, you can submit code and join discussions in all online judging services provided by us.