#BJSC025. 程序阅读2
程序阅读2
程序阅读2
题目描述
阅读下面的 C++ 程序,判断它的运行结果。
#include<iostream>
using namespace std;
int main()
{
float a=10.222222225, b=10.222222229;
if(a==b)
cout<<"Yes"<<endl;
if(a!=b)
cout<<"No"<<endl;
return 0;
}
输入格式
本题无输入。
输出格式
输出题目所给程序的运行结果。
预期输出
Yes
来源
BJSC