fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. enum Days {
  5. Monday = 1,
  6. Tuesday,
  7. Wednesday = 10,
  8. Thursday,
  9. Friday
  10. };
  11.  
  12. int main() {
  13. cout << "Tuesday is day number: " << Tuesday << endl;
  14. cout << "Thursday is day number: " << Thursday << endl;
  15. return 0;
  16. }
  17.  
  18.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
Tuesday is day number: 2
Thursday is day number: 11