fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5.  
  6.  
  7.  
  8. class Seasons
  9. {
  10. public:
  11. Seasons();
  12. private:
  13. constexpr static const char * const SEASONS[4] = {"Spring","Summer","Fall","Winter"};
  14. };
  15.  
  16. Seasons::Seasons()
  17. {
  18. int INDEX = 0;
  19. cout << "ESTACION: " << SEASONS[INDEX] << endl;
  20. }
  21.  
  22. int main() {
  23. // your code goes here
  24. Seasons a;
  25. return 0;
  26. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
ESTACION: Spring