Please can you help me with this assignment?
aries:march 21 - april 19 . taurus: april 20 - may20 . gemini: may 21 - june 20 . cancer: june21 - july 22 . leo:july23 - aug 22 . virgo:aug 23 - sep 22 . libra : sep 23 - oct 22. scorpio: oct 23 -nov 21 . sagittarius: nov 22 - dec 21 . capricorn : dec 22 - jan 19 . aquarius : jan 20 - feb 18 . pisces : feb 19 - march 20.
No products are associated with this question.
Use inputdlg() to get the month and day numbers from the user. The help has examples. Then use a bunch of if statements to determine which zodiac sign to assign, for example
DateNumber = datenum(2012,M,D); % Get serial date number if DateNumber .....
and so on