0

Hey how can i develop a better logic for this.

https://code.sololearn.com/cZ9nj27W8k5n/?ref=app

11th Jun 2018, 4:12 PM
Nivedit Jain
Nivedit Jain - avatar
2 Respostas
+ 1
Do not use C functions in C++, use enums, don't use goto. Try to divide this code into separate functions.
11th Jun 2018, 4:47 PM
Jakub Stasiak
Jakub Stasiak - avatar
0
You can use the "enum" type and switch for the month !!
11th Jun 2018, 4:16 PM
Julien Lord Maring
Julien Lord Maring - avatar