If you have interest in computer area then it is always better to have your academic qualifications and proficiencies in that field only as it is said that people progress and prosper in the areas of their passion and liking. Anyway it is not late and you can catch up with the stream of your liking soon. As you are already pursuing the B.Com. which is also a good career oriented stream, I would advise you to complete this and then go for computer engineering course. With your science background and interest you can do that. Many people go for engineering after B.Sc. so there is absolutely no problem in thinking under those terms. Computer engineering course would further enable you to go for your area of specialisation by doing some specific short duration courses which would give you opportunity to focus in your specific specialisation stream that is coding and programming.
Another option which also can be thought of is that after B.Com. you go for some diploma course in computer sciences and after that you can further acquire skills in the specific domain through certificate courses or trainings so that you can then try to get a job in that particular line. As you have shown specific interest in coding and related things, I can suggest some courses as below for you.
1. Diploma in computer programming - Many institutions and colleges offer this in which computer programming and coding are taught in details. The course is generally for 1 or 2 years and is sufficient to acquire the basic coding and computer programming practices.
3. Diploma in JAVA Programming - This is quite a useful one and has a short term tenure and in this one gets a knowledge of JDK, JDBC, Java Beans, Java-Servlet, JSP, J2EE etc.
4. Diploma in DOT NET Technology - This is also a short course containing VB.NET, ASP.NET, XML.NET, ADO.NET etc.
5. Python course for Data Science and Data Analysis - This is becoming a very impotent area as many programmers are going for it due to its versatile applications in data science and other business activities. I would recommend to go for some basic computer programming course before going for this one as that would help in better grasping.
Knowledge is power.