function Generate_Complement(Complement)
{
   var Operation=Array(2);
   var N1 = RandomNumber(2,(Complement-1),0);
   var R = Complement - N1;
   Operation[0]=N1 + " + ? = "+Complement;
   Operation[1]=R;
   return Operation;
}
// Complement is 100 for CE2 & CM1 or 1000 for CM2
Complement is 100 for CE2 & CM1 or 1000 for CM2
Complement is 100 for CE2 & CM1 or 1000 for CM2
function Generate_Complement(Complement)
{
   var Operation=Array(2);
   var N1 = RandomNumber(2,(Complement-1),0);
   var R = Complement - N1;
   Operation[0]=N1 + " + ? = "+Complement;
   Operation[1]=R;
   return Operation;
}
function Generate_Complement ( Complement ) { var Operation = Array ( 2 ) ; var N1 = RandomNumber ( 2 , ( Complement - 1 ) , 0 ) ; var R = Complement - N1 ; Operation [ 0 ] = N1 + " + ? = " + Complement ; Operation [ 1 ] = R ; return Operation ; }
Complement is 100 for CE2 & CM1 or 1000 for CM2
Complement is 100 for CE2 & CM1 or 1000 for CM2