小明今年12岁,他母亲比他大24岁。编写一个程序计算小明的母亲在几年后比小明的年龄大一倍,那时他们两人得的年龄各是多少? 输出格式要求:"year=%d\n" "mingAge=%d\n" "motherAge=%d\n"