Investment banks hire students from engineering, humanities, sciences, and other non-finance programs. Your major matters less than whether you can demonstrate analytical ability, attention to detail, communication skills, and a genuine interest in transactions and companies.
Recruiters will not automatically assume that your coursework prepared you for banking. You must close that gap yourself. Learn what analysts do: build financial models, prepare presentations, research companies, support deal execution, and manage detailed work under tight deadlines.