<!-- text above generated by server. PLEASE REMOVE -->
<!-- \/ starthtml --><html>
 <head>
   <!-- O bloco de META tags � requisitado pelo Est�dio de Homepage -->
   <!-- para identificar este arquivo criado pelo Editor de Freeform.   -->
   <!-- Por favor n�o remov�-los, mas adicionar    -->
   <!-- seus dados pessoais abaixo. Meta tags ajudam    -->
   <!-- search engines a identificar o conte�do de sua p�gina.       -->
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="palavras chave" CONTENT="entre palavras chave">
   <META NAME="descri��o" CONTENT="entre a descri��o aqui">
   <META NAME="autor" CONTENT="entre seu nome aqui">
   <META NAME="gerador" CONTENT="FreeFormEditor 1.0">
   <TITLE>Adivinhe o n�mero</TITLE>
 </head>

<body bgcolor="#000000" text="#00FF00" link="#0000EE" vlink="#551A8B">
<!-- following code added by server. PLEASE REMOVE -->
<!-- preceding code added by server. PLEASE REMOVE -->
<font color="#008000">
 <td align="left" valign="top" width="480" colspan="3">
                                                        <!--area Type="main" face="Helvetica, Verdana, Arial" size="2" color="#00ff00" style="0"-->
<p><font face="Helvetica, Verdana, Arial" size="5" color="#000000"><DIV><FONT face=Courier color=#003ff33 size=5><FONT face=Arial,Helvetica,sans-serif color=#00FF00><center>Adivinhe o N�</center>

<p><font face="Helvetica, Verdana, Arial" size="2" color="#000000"><DIV><FONT face=Courier color=#33ff33 size=2><FONT face=Arial,Helvetica,sans-serif color=#00FF00><SCRIPT LANGUAGE="Javascript">




var num = Math.round(100*(Math.random())) 


var num_in, x=50, tentativas=0 

while (true) {
  num_in = prompt("Adivinhe o numero? (0-100) : ",x) 
  tentativas++         //Incremento do numero de tentativas
  if (num_in == num) break   //Saida do ciclo
  if (num_in > num) {
     alert("O numero � menor, Tente de novo...") 
    } else {
     alert("O numero � maior, Tente de novo...") 
    }
  x = num_in 
}
document.write("<h4>N�mero: ",num,"<p></h3>") 
document.write("<h4>Parab�ns voc� acertou em ",tentativas) 
document.write(" tentativas!</h4>") 
</SCRIPT></FONT> </FONT></DIV><!--"''"--></font></p></div>
<!--/area--></td><!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://geocities.com/js_source/geov2.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?br1136225623" alt="setstats" border="0" width="1" height="1"></noscript>