Program in JAVA to check whether a given number is odd or even
Logic 1 : By Checking Divisibility by 2
Logic 2: By Dividing Number by 2 and if it is
not exactly divisible by 2 then the number is odd else even
Logic 3: By comparing last digit of number
with even number array
If you have any doubt related to Programs or if you want me to solve your problem or if you need logic of any program feel free to Comment.
2 Comments
Hey, your article is interesting. I will share with my friends. My colleagues were taking about cloudcouncil that they provide certification on Java. As you have knowledge in it can you help me is that worth studying and get certified ? https://cloudcouncil.org/
ReplyDeleteYes, It is worth studying JAVA. But knowledge is above certificate. If you have passion and think that you can gather new skills and knowledge then you should take a course.
Delete