ques34.cpp