Eleven Years of Service
Posts: 4,779
Threads: 289
RE: [C#] Even number 07-26-2019, 01:26 AM
#2
EDIT: Wrong explanation.
Actually modulo gives you the remainder when you divide. The result of an odd number when halved is 1 and while even numbers are 0.
(This post was last modified: 07-26-2019, 01:34 AM by OversouL.)
Hidden Lesson: Reactions are always instinctive whereas responses are always well thought of.
•
Six Years of Service
Posts: 2,973
Threads: 246
RE: [C#] Even number 07-26-2019, 06:45 AM
#3
Is this for making a program in C?
My IT skills that I know perfect is SQL, HTML ,css ,wordpress, PHP.
coding skills that I know is Java, JavaScript and C#
•
Six Years of Service
Posts: 2,973
Threads: 246
RE: [C#] Even number 07-26-2019, 07:13 AM
#5
(07-26-2019, 07:09 AM)Spore Wrote: (07-26-2019, 06:45 AM)darkninja1980 Wrote: Is this for making a program in C?
C#, its in the title
What I mean is he can show the whole source code.
My IT skills that I know perfect is SQL, HTML ,css ,wordpress, PHP.
coding skills that I know is Java, JavaScript and C#
•
Three Years of Service
Posts: 3
Threads: 0
RE: [C#] Even number 06-30-2021, 06:48 AM
#7
IF x divisible by 2 , The remainder = 0, true
•