ques19.cpp