#BJSC025. 程序阅读2

    ID: 4218 Type: Default 1000ms 256MiB Tried: 1 Accepted: 1 Difficulty: 2 Uploaded By: Tags>基础算法模拟北京科学中心程序阅读

程序阅读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