How hard is computer science?

<p>Hi, I applied to UT Austin and Texas A&M with computer science as my major.
Therefore, I researched about it and many people said it is really a hard major.
I think i can do it if i work very hard but how hard is it?
Also, people say you have to know how to use the codes before you major in computer science. Is that true?
cuz I don't really know how :(
I will really appreciate it if you can answer it!</p>