Create solution5.cpp