!set title=Porcentajes
!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
oef2wims_version=3.22
language=es
leftrange=-5.000000
rightrange=5.000000
author=Dingyu Xiao
email=xiao@unice.fr
computeanswer=no
precision=1000

ansorder=r,r
varcnt=6
prevarcnt=5
postvarcnt=0
replycnt=2
choicecnt=0
conditioncnt=0
feedbackcnt=0
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 800, 950

val6=$[rint($(tmp0))]
tmp0=!randint 100, 290

val7=$[rint($(tmp0))]
val8=$[round(($val7/$val6)*1000)/10]
tmp0=!randint 200, 400

val9=$[rint($(tmp0))]
val10=$[round(($val9/$val6)*10000)/100]
replytype1=default
replyname1=Número de alumnos
replygood1=$val7
replytype2=default
replyname2=Porcentaje
replygood2=$val10
question=__EXECUTED_1692754_EXERCISE__

!goto stat

!exit

:question
$()Entre los $val6 alumnos del instituto, $val8% dan alemán. 	<br>¿Cuántos son?	<br>$val9 dan español. ¿Qué porcentaje representan?
$()
!exit

:hint
$()
$()
!exit

:help
$()
$()
!exit

:solution
$()
$()
!exit

:feedback

!exit

:test

!exit

:stat
vsavelist=6,8,9
embedcnt=0
