This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: how to write odd even logic

Tool/software: Code Composer Studio

i am writing

 

if (a%2==0)

{

even;

}

else

{

odd;

}

here "a" is number which is in incrimental mode.

I also have dought that which header files required for exicute this code.