quiz program written in c++