modified:   midterm1.jak.cpp