Posts by Lunnie • 45 points
3 posts
-
1
votes1
answer1262
viewsQ: Sum of matrices in java matrix A+ matrizB, results in matrix C
I need to make a matrix sum algorithm in Java, in which the sum of the matrix with the matrix B, generates the matrix C. if the matrizA has the same number of rows and columns as the matrix B.…
-
1
votes1
answer378
viewsQ: Vector: Register 5 names and their heights, then show all in ascending order.
I need to register five names and their heights, then show them all in ascending order. The problem is I can only put the heights in order, the names are in the order I typed. And also I’m not able…
-
2
votes2
answers914
viewsQ: Put vectors in order. JAVA
I need to put five pesos in order from the smallest to the largest. Defining the numbers instead for example: int vet[] = {3,4,2,8,7,1}; it runs right, but I need to do it this way: int vet[] = new…