for(i=0; i<20; i++){
  document.writeln(Math.round(10*Math.random())+"+"+
     Math.round(10*Math.random())+"=<br>\n"
  );
}