Hello everyone🙋🏻♂️, My code has error in switch case statment. Could anyone please help me to debug this.
I have write a program that generates the date of next day. I have defined the date of 5days in the variable and want to get the date of next day. I have used two different functions,one for printing the date and another for generating the date of next day. The program is showing an error massage which says that DUPLICATE CASE VALUE. But according to me their is not any duplication of value in switch case statement. Please anyone helps to debug this. Just see my code once please. https://code.sololearn.com/cbmpvNyIOumk/?ref=app