EDIT: Found out. Anyways, how can it be changed so the end result will always be aligned LEFT, without the extra spaces?

]]>Thanks for the suggestion, I'll work into it ðŸ˜€

Thanks for all your help guys!

I am appreciated!

` ``"Monkey RoosterDog Boar Rat Ox Tiger Rabbit Dragon Snake Horse Sheep â†’Str1 Input "Year:",A While A<0 A+12â†’A End 12fPart(A/12â†’A iPart(A+(fPart(A)â‰¥.5â†’A sub(Str1,7A+1,7`

EDIT: Nvm, I see what you mean now.

EDIT 2: Here's some updated code.

` ``"Monkey RoosterDog Boar Rat Ox Tiger Rabbit Dragon Snake Horse Sheep â†’Str1 Input "Year:",A While A<0 A+12â†’A End 12fPart(A/12â†’B int(Bâ†’C sub(Str1,7C+1,7`

Running each line of code individually on the home screen produces the same Domain Error for some reason.

` ``sub(Str1,B,7 // I reduced it down to just B for test purposes sub(Str1,2,7 // The calculator runs this just fine. But even if B is 2, it doesn't run the first line 2â†’C sub(Str1,C,7 // The calculator runs this too. Bâ†’C sub(Str1,C,7 // The calculator doesn't run this.`

It is also interesting to note that years of 2019 and up will work just fine. I don't know why years 13-2018 don't work. I'm lost on this one.

]]>The way to get a domain error is to have 7B+1 be greater than 78, 78+7=85 which is the length of Str1, or to have 7B+1 be negative which shouldnt occur

` ``A=2`

The While loop is skipped because A>0. Doing the math in the last bit of your code by hand, we get:

` ``A/12=0.166667 fPart(Ans=0.16666667 12*Ans=2 7(2)+1=15`

Which produces a line of code for the calculator of:

` ``sub(Str1,15,7`

]]>

` ``A=2018`

The While loop is skipped because A>0. Doing the math in the last bit of your code by hand, we get:

` ``A/12=168.166667 fPart(Ans=0.16666667 12*Ans=2 7(2)+1=15`

Which produces a line of code for the calculator of:

` ``sub(Str1,15,7`

Which would be the cause of the Domain Error.

]]>` ``"Monkey RoosterDog Boar Rat Ox Tiger Rabbit Dragon Snake Horse Sheep â†’Str1 Input "Year:",A While A<0 A+12â†’A End 12fPart(A/12â†’B sub(Str1,7B+1,7`

Idk why but it is giving me a domain error for any year greater than 12 unless the year is a year of the monkey. Any Suggestions? The string is 85 tokens long, and B is always between 0 and 11 ]]>

Just a suggestion :P

]]>Here is the code:

Sorry, it may be confusing, this is how it is supposed to be

` ``Disp "What's your","Zodiac sign? Input "BirthYear(",Y ClrHome "Invalid Year! //This message here is stored in Ans if Y<1959 or Y>2018, our current year. If max(Y={2008,1996,1984,1972,1960 "Rat If max(Y={2009,1997,1985,1973,1961 "Ox If max(Y={2010,1998,1986,1974,1963 "Tiger If max(Y={2011,1999,1987,1975,1963 "Rabbit If max(Y={2012,2000,1988,1976,1964 "Dragon If max(Y={2013,2001,1989,1977,1965 "Snake If max(Y={2014,2002,1990,1978,1966 "Horse If max(Y={2015,2003,1991,1979,1967 "Goat If max(Y={2016,2004,1992,1980,1968 "Monkey If max(Y={2017,2005,1993,1981,1969 "Rooster If max(Y={2018,2006,1994,1982,1970 "Dog //2018 is the year of the Dog. If max(Y={2007,1995,1983,1971,1959 "Pig Ans`

I'm not sure if I typed it out correctly, I am kind of jittery, so please excuse my mistakes and correct them if you would like to do so.

Is there any other programs of this, or is it unique?

Should I delete things? Or no?

I based my data from of this image:

Compatible for any graphing calculator; TI-82 Titanium

For any year *1959-2018.*