You’ll find ample students at MNIT Jaipur who wanted to pursue CS but ended up in Metallurgy. This happens because of low JEE Mains rank or wrong choice filling.
You can maintain good grades and simultaneously practice coding to secure a good IT job. While some IT companies are open exclusively to CSE and ECE students, others give equal opportunity to all the branches. Metallurgy at MNIT doesn’t offer good core placements, so its students mostly end up in non core jobs.
You can definitely take up Metallurgy at MNIT and work on your coding skills side by side.