Posts by user90625 • 53 points
3 posts
-
2
votes1
answer1148
viewsQ: How to call different methods in different Switch Case conditions?
I have this code, and I’d like to know how to call a method from the switch...case. public static void opcoes(){ System.out.println("Selecione o Algoritmo de Substituicao Desejado");…
-
2
votes2
answers51
viewsQ: How to inform data in a vector
I’m not getting to report 10 student grades. import java.util.Scanner; public class exer { public static void main(String[] args){ Scanner scn = new Scanner(System.in); double[] N = new double[10];…
-
1
votes1
answer41
viewsQ: How to print selected items?
while(resposta == "sim"){ System.out.println("Informe o Numero do Produto desejado"); System.out.println("15 - Parafuso, 20 - Porca, 30 - Arruela"); cod_peca =…