Applying to University of Virginia without a Math Course Senior Year?

How much does it hurt my chances of admission when applying to UVA without participating in a math course in senior year? I am pretty bad at math, and have done poorly chronically (hovering around C+'s and B-'s overall). I did take AB Calculus last year, and scored a 5 (but managed to scrape a C for the course). Given my less than optimal record, I decided to not take BC calculus, and take a robotics course offered at my school (which pairs nicely with some Computer Science classes I have took). If I plan on applying in a STEM major such as pre-med or engineering would not taking an additional math course in leau of robotics hurt my admission chances a lot? While many students take math all four years at my school, some don’t complete calculus until their senior year. I am on the borderline of the top 10% of my class, could this destroy my dream of getting in?