Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
454 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
      short int a;
      cin >> a;
	  switch (a)
	  {
	  case 1:
	  case 2:
	  case 12:
		  cout << "zima";
		  break;
	  case 3:
	  case 4:
	  case 5:
		  cout << "vesna";
		  break;
	  case 6:
	  case 7:
	  case 8:
		  cout << "leto";
		  break;
	  case 9:
	  case 10:
	  case 11:
		  cout << "osen";
		  break;
	  default:
		  cout << "error";
		  break;
	  }

}