I belive so, colleges want to see how well you will do in their courses and City college courses are a good indicator of that. Remember colleges take into account how difficult college courses are and one sub par grade won’t affect your chances of acceptance. A friend of mine got a C in AP Calc and they attend Columbia
Best of Luck