Create 7.cpp

Problem 7