What classes should I take in high school to best prepare me for a job in computer science?
Take computer programming classes if they are offered at your school.
I know in the future typing will be replaced with voice commands but taking an on-line touch typing class would benefit for the short term.
You can learn programming on-line while you are going to high school. Python is an easy to learn general purpose programming language available on many web sites. This web site is one of the best-- https://www.learnpython.org/
I know this is old fashion but you should buy a good Python programming book for reference.
When you use the book feel free to highlight and mark references.
Or you could find a good Python programming pdf on the Internet an print the connects.
Leon recommends the following next steps:
The best classes to take in high school are Math and Science related for working in IT. An increasing amount of field is revolving around Artificial Intelligence and Machine Learning. For AI/ML you should also consider classes on statistics. Based on how you want to develop your career business classes can also help.
While math and science are the two most obvious answers, I would also suggest writing/communications courses. One of the keys to being a good developer is being able to succinctly comment on your code so others can easily ramp when they have to work on it. If I were you, I would also work outside of your classes to learn various programs. I have taught myself all of the various software and programming languages by reading books and using online resources as well. This is a good method for you to find out what really interests you and dive deeper into it.
Best of luck!
Bonnie recommends the following next steps: