Home > Back-end >  For help! My program without error and warning, but always VS2019 have the modal window, enter the u
For help! My program without error and warning, but always VS2019 have the modal window, enter the u

Time:10-02

Is not a leap year and all the days in the

CodePudding user response:

Instead of % d, % d, no Spaces in the middle

CodePudding user response:

reference 1st floor GKatHere response: ,
% d to % d, no space between
thank you, the problem is solved, leap leap year can also judge, but why always returns a month does not exist in the input, namely the if the last line?

CodePudding user response:

Feel your ternary operator there is a problem with the written statements, so wrong,

CodePudding user response:

The scanf % d don't comma between two inside

CodePudding user response:

reference 4 floor Mrxlin response:
% d don't comma between two inside the scanf
thanks, this is the core problem

CodePudding user response:

reference CHXCHXKKK reply: 3/f
feel your ternary operator there is a problem with the written statements, so judgment error,
yes, three statements I didn't play computer brackets
  • Related