Create result.cpp

adding file.