Computer science uses a lot of math, but it's not your typical high-school math. You use
discrete math to learn about the efficiency of algorithms and different ways to solve problems. You also analyze code to get a sense of the "time complexity" and "space complexity" to compare the efficiency of different algorithms, but this is mainly being able to think about what kind of function the actions of your code represents (logarithmic vs exponential vs factorial, etc)
I did not take many EE classes but from my friends I believe there is a lot of calculus involved in EE, and I believe ABET accreditation for a curriculum requires you to go through multiple calculus and differential equations classes.
I'm not quite computer science but I studied software engineering, and had to take calculus 1-4 (derivatives, integrals, multiple integrals, different coordinate systems, etc) , differential equations, and statistics courses.