Time:10-15
CodePudding user response:
this code defines season you don't have to give the initial value, why there will be a compiler error
Quote: refer to the original poster m0_46370246 response: this code defines season you don't have to give the initial value, why there will be a compiler error I later see That is to say if the input 1 and 12 outside, no output to run too, is more or less have to responsible for the number 1 and 12 outside of the meaning of the results, So I understand, I give season assignment 'no', you can run a success
you season variable assignment statement in the switch condition, that is to say, may all the conditions are not met, so you may not define behind tips when using
Page link:https//www.codepudding.com/Backend/66509.html