In most cases, remaining in the major requires C grades and/or a 2.0 GPA (at least in major-relevant courses).
Yes, there are some situations where remaining in the major requires higher grades or GPA, but is this common for CS (as opposed to nursing)?