Does anyone know a source code for calculating Zodiac Sign using a given DoB

Thanks

Recommended Answers

yeah, about 12 'if / else if" conditional statements.

Jump to Post

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.

Jump to Post

All 5 Replies

yeah, about 12 'if / else if" conditional statements.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.