+ 2
Please Help in enum concept ,code error
3 ответов
+ 4
At line 7,
d=num; is not valid statement as you cannot convert an integer value to enum.
Instead, you can try this-
d = wed;
and then compile your code. But in that case, the num variable is of no use.
+ 4
Here, I've made the changes I think you are looking for:
https://code.sololearn.com/cDIDhHQ24KOi
+ 3
thank u @ Zeke Williams