#include<iostream>
using namespace std;
//#define 宏常量 #define 常量名 常量值
//通常在文件上方定义,表示一个常量
#define day 7
int main()
{
cout << "一周有:" << day << "天" << endl;
//const修饰的变量 const 数据类型 常量名=常量值
//通常在变量定义前加关键字const,修饰变量为常量,不可修改
const int month = 12;
cout << "一年有:" <<month<<"月"<< endl;
system("pause");
return 0;
}