- 1

Can you Write a program in c++ to display day name using IF....ELSE

21st Nov 2016, 10:54 AM
Aniket Deshmukh
3 ответов
+ 1
you can use my answer in your previous question just replace the cases with this // we calculated day days[]=["Sunday",....] cout<<days[day] so need of if else as output is direct however you can use nested ifs just put if else if else in place of cases
21st Nov 2016, 2:54 PM
Sandeep Chatterjee
0
yes
21st Nov 2016, 11:04 AM
Mohd Ruksar
Mohd Ruksar - avatar
0
That would be complicated, but I've done it.
21st Nov 2016, 12:32 PM
Samuel Neo
Samuel Neo - avatar