<p>If you didn’t have many of the physics/astrophysics courses, I imagine it would be very difficult getting into Ay grad school from just CS. However, if you took pretty much all your electives in Ay/Ph, they you could do it. </p>
<p>Ultimately, Ay and CS are very, very different fields. If you want to do astrophysics, but still want to program, get your degree in Ay and take a few CS classes on the side. There are also some required physics labs that make you learn C++ for numerical processing- it’s not like you won’t have any idea how to program unless you take CS.</p>