Create 1_4.cpp

solution 1_4.cpp