Posts by Gabriel Bertti • 1 point
1 post
-
-1
votes4
answers20854
viewsA: How to order vector in descending order?
//Printing Array in descending order public class Main { public static void main(String[] args) { int valor[] = new int[1000]; for(int i =0;i<valor.length;i++){ valor[i] = valor.length - i;…