Está en la página 1de 2

Desarrollo

package codigo.pkg4;

import java.util.Scanner;

public class Codigo4 {

public static void main (String []args){

String libreta ;

String computadora;

String estuchera;

String regla;

String colores;

String marcadores;

String tijeras;

String carpeta;

Scanner entrada = new Scanner (System.in);

System.out.println ("LISTA DE COSAS DE MI MOCHILA");

System.out.println ("AGREGA OBJETO 1 :");

libreta = entrada.nextLine();

System.out.println ("AGREGA OBJETO 2:");

computadora = entrada.nextLine();

System.out.println("AGREGA OBJETO 3:");

estuchera = entrada.nextLine();

System.out.println("AGREGA OBJETO 4:");

regla = entrada.nextLine();
System.out.println("AGREGA OBJETO 5:");

colores = entrada.nextLine();

System.out.println("AGREGA OBJETO 6:");

marcadores = entrada.nextLine();

System.out.println("AGREGA OBJETO 7");

tijeras= entrada.nextLine();

System.out.println("AGREGA OBJETO 8");

carpeta= entrada.nextLine();

System.out.println("LOS UTILES DE SU MOCHILA SON LOS SIGUIENTES: ");

System.out.println("AGREGA EL PRIMER OBOJETO " + libreta);

System.out.println("AGREGA EL SEGUNDO OBJETO: " + computadora);

System.out.println("AGREGA EL TERCER OBJETO: " + estuchera);

System.out.println("AGREGA CUARTO OBJETO:" + regla);

System.out.println("AGREGA QUINTO OBJETO: " + colores);

System.out.println("AGREGA SEXTO OBJETO: " + marcadores);

System.out.println("AGREGA SEPTIMO OBJETO: " + tijeras);

System.out.println("AGREGA OCTAVO OBJETO: " + carpeta);

También podría gustarte