Computer Science, asked by manojagarwalsiliguri, 18 days ago

#include <iostream.h>
#include <conio.h>
int main()
{
int n;
cout<<"Enter a number of a day in the week: ";
cin>>n;
switch(n)
{
case 1:
cout<<"Sunday"<<endl;
break;
case 2:
cout<<"monday"<<endl;
break;
case 3:
cout<<"Tuesday"<<endl;
break;
case 4:
cout<<"Wednesday"<<endl;
break;
case 5:
cout<<"Thursday"<<endl;
break;
case 6:
cout<<"Friday"<<endl;
break;
case 7:
cout<<"Saturday"<<endl;
break;
default:
cout<<"Invalid number"<<endl;
}
return 0;
}​

Answers

Answered by bhakarepranjali
0

Answer:

here this your answer

Explanation:

make a brilliant

Attachments:
Similar questions