943,950 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1292
  • C++ RSS
Jun 4th, 2009
0

Calculating Zodiac Sign using DoB

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

Thanks
Similar Threads
Reputation Points: 26
Solved Threads: 19
Posting Whiz in Training
Traicey is offline Offline
283 posts
since Mar 2008
Jun 4th, 2009
0

Re: Calculating Zodiac Sign using DoB

yeah, about 12 'if / else if" conditional statements.
Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008
Jun 4th, 2009
0

Re: Calculating Zodiac Sign using DoB

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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Jun 4th, 2009
0

Re: Calculating Zodiac Sign using DoB

Wow !!! asking source code in Dani directly and that too at two places. I am SHOCKED !!!
Reputation Points: 485
Solved Threads: 88
Posting Pro
csurfer is offline Offline
564 posts
since Jan 2009
Jun 5th, 2009
0

Re: Calculating Zodiac Sign using DoB

here, i'll help you get started:

  1. if (month == 4 && day > 20 || month == 5 && day < 21)
  2. strcpy(sign,"taurus");
  3. else if (month == 5 && day > 20 || month == 6 && day < 21)
  4. strcpy(sign,"gemini");
  5. // ... etcetera ...

now don't say no one never gave you nothin'

Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008
Jun 5th, 2009
0

Re: Calculating Zodiac Sign using DoB

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 )
Last edited by MosaicFuneral; Jun 5th, 2009 at 4:14 am.
Reputation Points: 888
Solved Threads: 114
Nearly a Posting Virtuoso
MosaicFuneral is offline Offline
1,270 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: help programming with openoffice UNO
Next Thread in C++ Forum Timeline: C++ help needed





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC