Create ques4.cpp