code: |
aries =03 or 04 and birthdate:=22 to 20
then
Font.Draw("Your Zodiac sign is Aries", 275,375,font1, 16)
end when |
This is not a statement. This is gibberish. 'end when' is not a thing. The first line of that snippet makes no sense at all.
You know exactly what date each zodiac sign starts and ends. You simply need to check- 'is your birthday between Areis start date and areis end date? Yes? You're an Areis. No? Then check if your birthday is between Taurus start date and Taurus end date. Yes? You're a Taurus. No? Continue for other signs.
Quote:
I've tried using different types of statements but they all give me errors
I suggest you read the error messages and try to figure out what they mean. They don't just tell you 'Something is wrong!' (usually). They tell you what went wrong and where. Further, 'trying different types of statements' tells me you haven't thought about the problem at all. This approach will never, ever work except by accident. Every statement has a purpose. Do you need to do something lots of times? Use a loop. Do you need to compare two things? Use an if.