Posts by Mariana • 1 point
1 post
-
-2
votes1
answer46
viewsQ: How to scan the matrix using only one for?
The circumstances are in the code that works: String[][] compras = new String[][] { { "item 1", "1.70" }, { "item 2", "39.90" }, { "item 3", "9.90" }, { "item 4", "4.90" }, { "item 5", "7.90" } };…