Untitled
SAlexoX
java
a year ago
456 B
2
Indexable
Never
package EjerciciosBucle; import java.util.Scanner; public class Ejercicio01NumeroMultiplicar { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Introduce un numero: "); int numero = sc.nextInt(); int n; for (int i = 1; i < 13; i++) { System.out.println(numero + " * " +i+ " = " + numero*i+ "\n" ); } } }