
﻿to kousuan
pr [【百以 内数的加减法】]
wait 100
make zheng "正确
make cuo "错误
make cishu 0
make chengji 0
label loop
make jia1 random 50
make jia2 random 50
make fu random 2
(type [第] cishu+1 [题 ] )
if  fu=1 then [ (pr [请计算] jia1 [+] jia2 [=?] )  ] 
else [make jia1 100-jia1  (pr [请计算] jia1 [ - ] jia2 [ =?] ) make jia2 jia2*-1]
 make de read  
if de=jia1+jia2 then pr zheng make chengji chengji+10 else pr cuo
make cishu cishu+1
if cishu<10 then go loop
pr [终于考完了!]
(pr [本次得分：] chengji )
end
