⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2_10.cpp

📁 清华大学C++补充习题代码
💻 CPP
字号:
//2_10.cpp
#include <iostream>
using namespace std;

int main()
{
	int x;
	int y;
	x=5;
	y=6;
	if (x==5)
		cout<<"The value of x is:"<<x<<endl;
	else
		cout<<"The value of x is not:"<<x<<endl;
	if (y=8)
		cout<<"The value of y is:"<<y<<endl;
	else
		cout<<"The value of y is not:"<<y<<endl;
	return 0;
}
/*
程序运行结果为:
The value of x is:5
The value of y is:8
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -