ques15.cpp