6.10 编写程序:判题与交卷