Posts by ANDERSON FUHR SOUZA • 1 point
1 post
-
0
votes1
answer26
viewsA: How to sum the lines of a two-dimensional vector and show the result of the sum of each line?
If that’s what I understand, just reset the "sum" after reading each line, or save in a vector the sum of each line. public class vetor { public static void main(String[] args) { int soma = 0; int…