刚学CPP,想求一师傅,可以帮忙看看程序的.........
#include <iostream>using namespace std;
enum weekday {mon=1,tru,wed,thu,fri,sat,son};
void day(int 1<=n<=7)
{ weekday n
if(n<7)
cout<<"明天是:"<<n+1;
else cout<< "明天是星期1" ;
return n;
}
void main()
{
cout<<"请输入今天星期几?";
cin>>a;
cout<<day(a);
}
帮个忙,哪错了,怎么改 QQ 543025796 欢迎各位高手指点