If you want to be under 40K and don’t forget some schools add surcharges, you really need to look at Arizona, UAH, Bama, MS. State. Check out Mizzou too as a neighboring state and then Misouri S&T. Mizzou - you’ll be way under because you’ll get OOS tuition waived + $2500 if i’m reading their chart correctly.
You may also look at Bradley - they will show you on their website your cost and they are aggressive. I did - their COA is low ($48K) and you’d get $20K off a year - so that’s $28K…a fine school.
The 3.74 is not high for CS but you have the college classes and a great ACT.
Some schools use weighted GPA; some like Arizona do not.
Also, most schools will recalc your GPA as they only use certain classes - so if your non-core classes were As…your GPA to the school may be lower. Or - if they were Bs/Cs, it could be higher.
Good luck.