Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dataset Question Pin
eddieangel26-Jan-11 13:30
eddieangel26-Jan-11 13:30 
GeneralRe: Dataset Question Pin
RobCroll26-Jan-11 14:43
RobCroll26-Jan-11 14:43 
AnswerRe: Dataset Question Pin
PIEBALDconsult26-Jan-11 13:46
mvePIEBALDconsult26-Jan-11 13:46 
GeneralRe: Dataset Question Pin
eddieangel26-Jan-11 13:48
eddieangel26-Jan-11 13:48 
GeneralRe: Dataset Question Pin
PIEBALDconsult26-Jan-11 14:11
mvePIEBALDconsult26-Jan-11 14:11 
Questionwhat the code of this Pin
Nabawoka26-Jan-11 11:04
Nabawoka26-Jan-11 11:04 
AnswerRe: pleaaaaaaaase important and now iam in exam online the solution of this ????? PinPopular
Pete O'Hanlon26-Jan-11 11:11
mvePete O'Hanlon26-Jan-11 11:11 
AnswerRe: pleaaaaaaaase important and now iam in exam online the solution of this ????? Pin
TheGreatAndPowerfulOz26-Jan-11 11:11
TheGreatAndPowerfulOz26-Jan-11 11:11 
dude, that's pretty simple, but we're not here to do your homework for you.

you need to try and post what you tried and maybe we can give you pointers.

given the description you should first write a function that answers whether a number is prime or not.

then another function isJeffian that iterates over the given array and counts the number of primes in the array.

if that count is equal to the first argument of the array (and the first argument is prime) then it's a Jeffian array, so return true, otherwise return false.
"If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams

AnswerRe: what the code of this PinPopular
Paladin200026-Jan-11 11:22
Paladin200026-Jan-11 11:22 
GeneralRe: what the code of this Pin
Pete O'Hanlon26-Jan-11 11:26
mvePete O'Hanlon26-Jan-11 11:26 
GeneralRe: what the code of this Pin
Nabawoka26-Jan-11 11:26
Nabawoka26-Jan-11 11:26 
GeneralRe: what the code of this Pin
AspDotNetDev26-Jan-11 11:31
protectorAspDotNetDev26-Jan-11 11:31 
GeneralRe: what the code of this Pin
Nabawoka26-Jan-11 11:34
Nabawoka26-Jan-11 11:34 
GeneralRe: what the code of this Pin
TheGreatAndPowerfulOz26-Jan-11 11:49
TheGreatAndPowerfulOz26-Jan-11 11:49 
AnswerDon't bother answering this question. Pin
Pete O'Hanlon26-Jan-11 11:24
mvePete O'Hanlon26-Jan-11 11:24 
AnswerRe: what the code of this PinPopular
AspDotNetDev26-Jan-11 11:29
protectorAspDotNetDev26-Jan-11 11:29 
GeneralRe: what the code of this Pin
Pete O'Hanlon26-Jan-11 11:30
mvePete O'Hanlon26-Jan-11 11:30 
GeneralRe: what the code of this Pin
AspDotNetDev26-Jan-11 11:35
protectorAspDotNetDev26-Jan-11 11:35 
GeneralRe: what the code of this Pin
Pete O'Hanlon26-Jan-11 11:49
mvePete O'Hanlon26-Jan-11 11:49 
GeneralRe: what the code of this Pin
PIEBALDconsult26-Jan-11 13:53
mvePIEBALDconsult26-Jan-11 13:53 
GeneralRe: what the code of this Pin
Thomas Krojer26-Jan-11 22:22
Thomas Krojer26-Jan-11 22:22 
GeneralRe: what the code of this Pin
Pete O'Hanlon26-Jan-11 22:45
mvePete O'Hanlon26-Jan-11 22:45 
AnswerRe: what the code of this Pin
Nabawoka26-Jan-11 11:30
Nabawoka26-Jan-11 11:30 
GeneralRe: what the code of this Pin
TheGreatAndPowerfulOz26-Jan-11 11:34
TheGreatAndPowerfulOz26-Jan-11 11:34 
GeneralRe: what the code of this Pin
Nabawoka26-Jan-11 11:36
Nabawoka26-Jan-11 11:36 

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.