daily pastebin goal
64%
SHARE
TWEET

trabalhando com for

bulfaitelo Nov 19th, 2012 18 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  * @author BULFAITELO
  5.  * @copyright 2012
  6.  */
  7.  
  8. print "<strong>Primeiro exempo:</strong><br />";
  9.  
  10. for($contador=0;$contador<10; $contador++)
  11. {
  12.     print $contador . " Contador<br />";
  13. }
  14.  
  15. print"<strong><br />Segundo exmplo:<br /></strong>";
  16.  
  17. for($cont=10;$cont<=20;$cont++)
  18. {
  19.     print "o valor de cont e : $cont<br />";
  20. }
  21.  
  22. print "<a href='http://arquivos.bulfaitelo.net'><input type='button' value='Voltar'/></a>";  
  23.  
  24. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top