Last active
May 12, 2020 21:52
-
-
Save cleicar/469cfe70760dbc57cdd91e5ebe0052cf to your computer and use it in GitHub Desktop.
Codigo Julia
This file contains 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
public static void main(String[] args) { | |
Scanner leia = new Scanner(System.in); | |
Fila fila = new Fila(20); | |
Fila f1 = new Fila(3); | |
int opcao = 0; | |
while(opcao != 4) { | |
menu(); | |
opcao = leia.nextInt(); | |
switch(opcao) { | |
case 1: | |
inserir(fila, opcao); | |
break; | |
case 2: | |
remover(fila, opcao); | |
break; | |
case 3: | |
busca(fila); | |
break; | |
case 4: | |
imprimir(fila); | |
} | |
} | |
System.out.println("Obrigado e volte sempre!!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment