Use descriptive names that explain what the variable holds: studentCount instead of sc or x. Short names like i are fine for loop counters. C++ programmers typically use camelCase (myVariable) or snake_case (my_variable).
Pick one style and stick to it throughout your code. Avoid single-letter names except for loop indices (i, j, k) or mathematical variables (x, y). Code is read more than it is written.