Răspuns:
#include<iostream>
using namespace std;
int main()
{
\\ 4
cout<<"n="; cin>>n;
switch(n)
{
case 1:cout<<"luni"; break;
case 2:cout<<"marti"; break;
case 3:cout<<"miercuri"; break;
case 4:cout<<"joi"; break;
case 5:cout<<"vineri"; break;
case 6:cout<<"sambata"; break;
case 7:cout<<"duminica"; break;
default :cout<<"asa zi a saptamanii nu exista";
}
return 0;}