i get a error that says "use of enum "Days" without previous declaration" but i think i declared it, i think..
here my code , im new still btw
kthanksCode:#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
enum Days (sunday=1,monday,tuesday,wednesday,thursday,friday,saturday);
Days off;
cout <<"what day do you want off?(1-7)"<<endl;
cin>>off;
if(off == monday)
{
cout<<"Good choice monday is";
}
else
{
cout <<off<<" is a good choice to";
}
getch();
}