File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,30 +12,32 @@ int main()
1212 cin >> week;
1313 switch (week){
1414 case 1 :
15- cout << " Monday" << endl ;
15+ cout << " Monday" ;
1616 break ;
1717 case 2 :
18- cout << " Tuesday" << endl ;
18+ cout << " Tuesday" ;
1919 break ;
2020 case 3 :
21- cout << " Wednesday" << endl ;
21+ cout << " Wednesday" ;
2222 break ;
2323 case 4 :
24- cout << " Thursday" << endl ;
24+ cout << " Thursday" ;
2525 break ;
2626 case 5 :
27- cout << " Friday" << endl ;
27+ cout << " Friday" ;
2828 break ;
2929 case 6 :
30- cout << " Saturday" << endl ;
30+ cout << " Saturday" ;
3131 break ;
3232 case 7 :
33- cout << " Sunday" << endl ;
33+ cout << " Sunday" ;
3434 break ;
3535 default :
36- cout << " Invalid input! Please enter week number between 1-7." << endl ;
36+ cout << " Invalid input! Please enter week number between 1-7." ;
3737 break ;
3838 }
3939
40- return 0 ;
40+ cout << endl;
41+
42+ return EXIT_SUCCESS;
4143}
You can’t perform that action at this time.
0 commit comments