!set title= Le carré d'un entier 
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
computeanswer=no

ansorder=r
varcnt=3
prevarcnt=2
postvarcnt=0
replycnt=1
choicecnt=0
conditioncnt=0
feedbackcnt=1
format=html

val1=$imagedir
val2=$confparm1
val3=$confparm2
val4=$confparm3
val5=$confparm4

!if $testcondition=yes
 !goto test
!endif
!if $status=waiting
 !exit
!endif

tmp0=!randint -50, 50

val6=$[rint($(tmp0) )]
val7=$[rint(($val6)^2 )]
replytype1=numeric
replyname1=Carré de $val6
replygood1=$[$val7 ]
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$() Calculer le carré de $val6. 
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback
!ifval  $m_reply1 < 0 
 <p> Le carré d'un entier est toujours positif. 
$()
!endif

!exit

:test

!exit

:stat
vsavelist=6
embedcnt=0
