!set titb=Ejemplo
!set keyw=
!set datm=20030325
!set prev=
!set next=
!set upbl=soustraction
!set dat1=19000101
!set dat2=24000101


!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
!exit

:content
<div class="exemple">

!set tmp0=!randint 1, 10

!set m_a=$[$(tmp0)/2]


!set tmp0=!randint 1, 10

!set m_b=$[-$(tmp0)/2]


!set m_b1=$[-($m_b)]


!set m_s=$[$m_a-$m_b]


!set m_sp=$[$m_a-$m_b]

<center>
   
!insmath  \begin{array}{ccl}         A & = & \a-(\b)  \\         A & = & \a+(+\b1)  \\ 	A & = & \a+\b1 \\         A & = & \s \end{array}
&nbsp;&nbsp;&nbsp;

!set tmp0=!randint 1, 10

!set m_a=$[-$(tmp0)/2]


!set tmp0=!randint 1, 10

!set m_b=$[-$(tmp0)/2]


!set m_b1=$[-($m_b)]


!set m_s=$[$m_a-$m_b]


!insmath \begin{array}{ccl}            B & = & \a-(\b)  \\         B & = & \a+(+\b1)  \\ 	B & = & \a+\b1  \\         B & = & \s \end{array}

&nbsp;&nbsp;&nbsp;

!set tmp0=!randint 1, 10

!set m_a=$[$(tmp0)/2]


!set tmp0=!randint 1, 10

!set m_b=$[$(tmp0)/2]


!set m_s=$[$m_a-$m_b]

 
!insmath \begin{array}{ccl}          D & = & \a-(+\b)  \\         D & = & \a+(-\b)  \\         D & = & \a-\b  \\         D & = & \s     \end{array} 

<p>
</center>
</div>
<p>
<div class="aide"><span class="aide">Sobre la escritura simplificada&#58; </span>
    Con el hábito se pasa directamente de la primera a la 
    tercera línea de cada cálculo.
</div>

