Last active
April 1, 2018 05:09
-
-
Save devtvas/1b128f43f2e61831162c9a9421cacaa1 to your computer and use it in GitHub Desktop.
My tabuada
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.JOptionPane; | |
public class Main10 { | |
public static void main(String[] args) { | |
int N = 0; | |
N = (Integer.parseInt(JOptionPane.showInputDialog("Digite um numero da Tabuaba: "))); | |
for (int i=0; i < 10; i++){ | |
int mult = N*1; | |
JOptionPane.showMessageDialog(null, N+" x "+i+" = "+(mult * i)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment