Does anyone know a source code for calculating Zodiac Sign using a given DoB
Thanks
yeah, about 12 'if / else if" conditional statements.
250 posts, and you're still cross-posting
http://www.daniweb.com/forums/thread195793.html
Yes I have the answer, and no you're not getting it.
Wow !!! asking source code in Dani directly and that too at two places. I am SHOCKED !!!
here, i'll help you get started:
if (month == 4 && day > 20 || month == 5 && day < 21)
strcpy(sign,"taurus");
else if (month == 5 && day > 20 || month == 6 && day < 21)
strcpy(sign,"gemini");
// ... etcetera ...
now don't say no one never gave you nothin'
:P
DOB? That and most PiHKAL's will land you a long prison sentence.
(This is why you should specify, and not use weird acronyms as questions. As well: http://catb.org/esr/faqs/smart-questions.html#before )
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.