0
My program stopped working
When i run my c++ program they give me that a problem caused the program to stop working correctly. What should i do??? https://code.sololearn.com/cMvLQ5bm9Fgi/?ref=app
5 odpowiedzi
+ 5
The code is perfect..but you are not returning dayname..In that case you have 2 options ..
1. Print dayname in function itself Or
2. Add "return dayname; " statement at the end of switch case..(As Mert Yazıcı said)
+ 3
add "return dayName;" after switch
+ 1
ohh , thanks 😍😍
+ 1
thanks ❤️