final for C lab