Students enroll in dual-credit classes