when mark __ ___ ___ ___ (正在考试),he had a stomachache.

问题描述:

when mark __ ___ ___ ___ (正在考试),he had a stomachache.
If you ___ ___ ____ (有办法)to solve the problem ,we can finish the task tomorrow.

when mark was having/taking an exam(正在考试),he had a stomachache.
注意是过去式
If you have any ideas (有办法)to solve the problem , we can finish the task tomorrow.