If math is really bad, I suggest you don't even study engineering. Unless you plan to pass all advanced mathematics, linear algebra and probability theory by cheating, you will even face the problem of graduating from a strict university. Of course, cheating also risks being arrested and deported.
These are the difficulties encountered in school. You may have heard the saying that you don't need to study at school, but mathematics is definitely not something that computer majors don't need to work. In the computer world, everything is composed of numbers, and all aspects of simulation and optimization are inseparable from mathematics. If you want to have a qualitative improvement in the computer, rather than just a programmer, the mathematical foundation determines the way out.