Home > Back-end >  The C language
The C language

Time:06-10

Odd even separation problems
I this code where there is something wrong with the

CodePudding user response:

Line 8 m to & amp; M,,

CodePudding user response:

And you have to do with the line of this output is not a newline, suggest you to change

CodePudding user response:

The original poster is how to distinguish the parity, see the original poster is directly output,
In addition, parity is not necessary to use double loop, single cycle, m % 2 judgment can be used directly,

In addition, Suggestions, even number is stored in the array, the final output respectively,

CodePudding user response:

refer to the second floor qq_45798109 response:
and the output you have line not line, I suggest you change the

Thank you thank you thank you thank you thank you

CodePudding user response:


I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related