We will determine whether a number is odd or even by using different methods all are provided with a code in c language. As you have study in mathematics that in decimal number system even numbers are divisible by 2 while odd are not so we may use modulus operator(%) which returns remainder, For example 4%3 gives 1 ( remainder when four is divided by three). Even numbers are of the form 2*p and odd are of the form (2*p+1) where p is is an integer.
In questa pagina del sito puoi guardare il video online C program to check odd or even using modulus operator della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Reyad Hossain 27 gennaio 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,481 volte e gli è piaciuto 11 spettatori. Buona visione!