Classes to take in High School to prepare for CS in college?

I was wondering if I should take Advanced Computer Programming in high school with AP Computer Science A and AP Computer Science Principles. Thanks.

any good class will help. AP CS A certainly will give you some foundation and programming experience, while AP CSP will give you some foundation knowledge. Also, having mathematical maturity by taking Calculus (and beyond if possible) will help, as proof-based math classes will help you tremendously with figuring out stuff in CS.

Oh, thanks. Well, I’m going take the above CS classes while taking Calculus so it will be pretty sweet.

Take precalculus honors and calculus + AP CS Principles and AP CS A and/or programming.
Also Useful if you can dual enroll somewhere: discrete math and intro to logic (or intro to Philosophy).