Click here to Skip to main content
15,883,749 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
David198723-Aug-11 4:14
David198723-Aug-11 4:14 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
BobJanova23-Aug-11 11:02
BobJanova23-Aug-11 11:02 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
ARon_23-Aug-11 4:06
ARon_23-Aug-11 4:06 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 8:38
KP Lee23-Aug-11 8:38 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
David198723-Aug-11 8:49
David198723-Aug-11 8:49 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 11:28
KP Lee23-Aug-11 11:28 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 11:31
KP Lee23-Aug-11 11:31 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced22-Aug-11 4:22
riced22-Aug-11 4:22 
Look at what I said - add 5 or 10.
If a number is divisible by 5 it must end in 5 or 0 - that's primary school arithmetic.
If you don't believe me write out the 5 times table for the numbers 1 to 20.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling22-Aug-11 4:59
stephen.darling22-Aug-11 4:59 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Mycroft Holmes22-Aug-11 14:09
professionalMycroft Holmes22-Aug-11 14:09 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
mmwlada23-Aug-11 2:32
professionalmmwlada23-Aug-11 2:32 
GeneralRe: How do I generate a number divisable by 5, and check it? PinPopular
stephen.darling23-Aug-11 2:40
stephen.darling23-Aug-11 2:40 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Not Active23-Aug-11 5:43
mentorNot Active23-Aug-11 5:43 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
#realJSOP23-Aug-11 5:19
mve#realJSOP23-Aug-11 5:19 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Not Active23-Aug-11 5:39
mentorNot Active23-Aug-11 5:39 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
FunkySteve23-Aug-11 2:47
FunkySteve23-Aug-11 2:47 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
stephen.darling23-Aug-11 3:00
stephen.darling23-Aug-11 3:00 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 8:43
KP Lee23-Aug-11 8:43 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced23-Aug-11 8:56
riced23-Aug-11 8:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee23-Aug-11 9:56
KP Lee23-Aug-11 9:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 6:56
riced24-Aug-11 6:56 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
KP Lee24-Aug-11 9:58
KP Lee24-Aug-11 9:58 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
riced24-Aug-11 10:21
riced24-Aug-11 10:21 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Gary Wheeler23-Aug-11 1:13
Gary Wheeler23-Aug-11 1:13 
GeneralRe: How do I generate a number divisable by 5, and check it? Pin
Kenneth Kasajian23-Aug-11 3:18
Kenneth Kasajian23-Aug-11 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.