If a student fails a course, then repeats the course and passes it, both courses are shown on the official transcript and both grades are counted in the cumulative overall and/or major average.
This same rule holds for a student who repeats a passed course, however, the student will not receive a second academic credit for that repeated course.
Further information on grades is outlined in this Calendar.