Posts by kuririm • 11 points
1 post
-
-1
votes1
answer37
viewsQ: I need to check that the item does not exist before adding it to Arraylist
switch (menuCad) { case 1: do { System.out.print("Digite o nome: "); String nomeProd = Stringentrada.nextLine(); System.out.print("Digite o preço: "); double precoProd = entrada.nextDouble();…