Vc poderia usar um for...

/*
tabuada.java
Primeira tentativa de fazer uma tabuada
*/
 
import java.io.*;
 
public class tabuada {
 
     static public void main (String[] args)
 
     {
        int i;
        
          try
          {
           InputStreamReader dados = new InputStreamReader (System.in);
           BufferedReader teclado = new BufferedReader (dados);
   
           System.out.println("Voc� quer a tabuada de que n�mero?");
           int t =  Integer.parseInt(teclado.readLine());
   
           for(i=1; i<=10; i++)
              System.out.println(t + " x " + i + " = " + (t * i));
   
          }
  
          catch (Exception error)
          {
              System.out.println ("[ERRO] - "+"Valor Inv�lido!");
          }
     }
}


:)




=====
"When you know Slackware, you know Linux... when you know Red Hat, all you know is Red 
hat"

The only vice which cannot be forgiven is hypocrisy. The repentance of a hypocrite is 
itself hypocrisy. --  William Hazlitt 
Power doesn't corrupt people, people corrupt power. -- William Gaddis

- [EMAIL PROTECTED] -- slackware.linuxbr.org
- irc.brasnet.org -- #slackware

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

------------------------------ LISTA SOUJAVA ---------------------------- 
http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP 
d�vidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
historico: http://www.mail-archive.com/java-list%40soujava.org.br
para sair da lista: envie email para [EMAIL PROTECTED] 
-------------------------------------------------------------------------

Responder a