BlackSabbathX
5/11/2017 - 10:02 PM

Lab_Final_AlexanderAcostaMolina_JosePadillaGamarra_.idea_description.html

<html>Simple <b>Java</b> application that includes a class with <code>main()</code> method</html>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="EntryPointsManager">
    <entry_points version="2.0" />
  </component>
  <component name="ProjectKey">
    <option name="state" value="project://e2804f05-5315-4fc6-a121-c522a6c26470" />
  </component>
  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
    <output url="file://$PROJECT_DIR$/out" />
  </component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/Lab_Final_AlexanderAcostaMolina_JosePadillaGamarra.iml" filepath="$PROJECT_DIR$/Lab_Final_AlexanderAcostaMolina_JosePadillaGamarra.iml" />
    </modules>
  </component>
</project>
<template>
  <input-field default="com.company">IJ_BASE_PACKAGE</input-field>
</template>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="Git" />
    <mapping directory="$PROJECT_DIR$" vcs="Git" />
  </component>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
  <component name="NewModuleRootManager" inherit-compiler-output="true">
    <exclude-output />
    <content url="file://$MODULE_DIR$">
      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
    </content>
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
</module>

package com.uninorte.sistemas53;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner t = new Scanner(System.in);
        int opc;

        do {
            System.out.print("\nEscoja opción a desplegar:\n\n1. Ventas.\n2. Registro de cada vendedor.\n3. Sueldo a pagar.\n4. Los tres trabajadores que mas vendieron y los tres que menos vendieron.\n5. Consultas.\n6. Ingreso de un vendedor.\n7. Despido de un vendedor.\n8. Salida.\n\nOpción: ");
            opc = t.nextInt();

            switch (opc) {
                case 1:

                    break;
                case 2:

                    break;
                case 3:

                    break;
                case 4:

                    break;
                case 5:

                    break;
                case 6:

                    break;
                case 7:

                    break;
                case 8:

                    break;
                default:
                    System.out.println("\nOpción invalida.");
                    break;
            }

            if (opc == 8) {
                break;
            }
        } while (1 == 1);
    }
}