Answers for "consola en java"

0

java consola

package holamundo;

import java.util.Scanner;
import javax.swing.JOptionPane;

public class HolaMundo {
    
    public static void main(String[] args) {
        Scanner escaner = new Scanner(System.in); 
        
        System.out.print("Dime un número: ");
        int entero = escaner.nextInt();
        System.out.println(entero);
    
    }
}
Posted by: Guest on February-21-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language