Updated A13.cpp file