This file contains hidden or 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
| package relación_ejercicios_1; | |
| import java.util.Scanner; | |
| public class nuevaClase { | |
| public static Scanner teclado = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| System.out.printf("Hola"); | |
| } |
This file contains hidden or 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 java.util.Scanner; | |
| public class ejercicio8_2 { | |
| public static Scanner teclado = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int num1 = 0; | |
| char sn; |
This file contains hidden or 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 java.util.Scanner; | |
| public class ejercicio3_2 { | |
| public static Scanner teclado = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int numRepeticion=0; | |
| do { | |
| System.out.printf("Introduce la cantidad de numero que quieres saber si es par o impar : "); |
This file contains hidden or 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 java.util.Scanner; | |
| public class ejercicio3_3 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int numeroRepeticiones = 0; | |
| int numMenor = 0; |
This file contains hidden or 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 java.util.Scanner; | |
| import java.util.SortedMap; | |
| public class ejercicio1_3_2 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int base = 0; |
This file contains hidden or 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
| package relación_ejercicios_1; | |
| import java.util.Scanner; | |
| public class ejercicio4_3_2 { | |
| public static Scanner sc = new Scanner(System.in); | |
| private static final int NUMINTENTOS = 5; | |
| private static final int NUM_INICICAL = 1; | |
| private static final int NUM_FINAL = 100; |
This file contains hidden or 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
| package relación_ejercicios_1; | |
| import java.util.Scanner; | |
| public class ejercicio1_3_2 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { |
This file contains hidden or 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
| package relación_ejercicios_1; | |
| import java.util.Scanner; | |
| public class ejercicio1_3_3 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int num; |
This file contains hidden or 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 java.util.Scanner; | |
| public class ejercicio7_3_2 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int num1 = 0; // Numero pedido por teclado al usuario. | |
| int num2 = 0; // Numero pedido por teclado al usuario. |
This file contains hidden or 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 java.util.Scanner; | |
| public class ejercicio7_3_2 { | |
| public static Scanner sc = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int num1 = 0; // Numero pedido por teclado al usuario. | |
| int num2 = 0; // Numero pedido por teclado al usuario. |
OlderNewer