Many of the folks joining Computer Science and Engineering has this problem as now a days, everyone one knows, by job perspective most of the people has to switch fields to IT , so its better to directly enroll in Computer Science and Engineering.In this case one would not care about actually he/she wants to be and then find oneself trapped in this situation.
First I would like to say, there's nothing like you are zero in coding , it is just perception , believe me , I also faced something like this,when I was new to this field.
Believe me , all the other field like data analysis, testing , business analysis, web development or any other field related to computer science need good functional knowledge and logical thinking .So, if you think that you are not able to write logic (not code) of prime number also , you may face problems in any other field as well.
So,don't directly go for writing code, first try to build some good logical thinking by making some algorithms or some structure , so that if you are not doing coding in future , the logics will take you way ahead in future in business analysis, marketing, data analysis, RPA , Devops , Infrastructure , SAP basis , SAP HR etc. or any other domain you want to get into . And now there are numerous amount of technologies that are tool based. So do not take any tension , you still have so much time .
All the best.