当前位置:   article > 正文

表达式(x

x
  1. #include "stdafx.h"
  2. #include<iostream>
  3. int _tmain(int argc, _TCHAR* argv[])
  4. {
  5. using namespace std;
  6. int x;
  7. cout<<"x="<<(x=100)<<endl;
  8. cout<<"now x="<<x<<endl;
  9. cout<<"the expression x<3 has the value:"<<(x<3)<<endl;
  10. cout<<"the expression x>3 has the value:"<<(x>3)<<endl;
  11. system("pause");
  12. return 0;
  13. }

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/代码探险家/article/detail/833255
推荐阅读
相关标签