Skip to content

Instantly share code, notes, and snippets.

View Rocio-CR's full-sized avatar

Rocio-CR

  • Joined Oct 8, 2025
View GitHub Profile
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//EJERCICIO ENCONTRAR EL NUMERO MAYOR
int numero1 , numero2;
Scanner entrada1 = new Scanner(System.in);
System.out.print("Dame dos numeros");
numero1 = entrada1.nextInt();
numero2 = entrada1.nextInt();