What High School courses should I take to become a Software Engineer?

I’ve seen more kids worry about flunking math and engineering courses, but not English. Well I do agree it’s good to have a well rounded education but they must also include 4 year of math and science. Nothing from what I’ve wrote suggesting otherwise. Yes my kid took English lit and Shakespeare too.