在这里插入代码片
#include <iostream>
using namespace std;
//常量的定义方式
//1 #define 宏常量
//2 const修饰的变量
#define Day 7//注意这里没有分号
int main(){
cout << "一周有" << Day << " 天" << endl;
const int month = 12;
cout << "一年有" << month << "月" << endl;
system("pause");
return 0;
}