Create ques7.cpp