Posts by Rafael Lopes • 9 points
2 posts
-
-2
votes1
answer65
viewsQ: I want to save 3 numbers and then print on the screen
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] vet = new int[2]; int i; for (i=0; i<2; i++); {…
-
0
votes1
answer51
viewsQ: Algorithm for vector ordering
Good morning. My question is on line 9. The correct one would be: para j de i + 1 até 3 passo 1 faça or para j de i + 1 até 3 faça Follow the complete algorithm: Algoritmo numero_crescente var vet:…
algorithmasked Rafael Lopes 9