Dado el siguiente arreglo de provincias argentinas: var provincias = [ ['Mendoza', 'San Juan', 'San Luis', 'La Rioja'], ['Catamarca', 'Tucuman', 'Salta', 'Jujuy'] ]; Arme otro arreglo equivalente para cargar las temperaturas mínimas del día de la fecha que correspondan a cada provincia. Luego genere un reporte en pantalla que muestre la información de ambos arreglos combinados, tal como si fuera un reporte periodístico
/* * This is a JavaScript Scratchpad. * * Enter some JavaScript, then Right Click or choose from the Execute Menu: * 1. Run to evaluate the selected text (Ctrl+R), * 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or, * 3. Display to insert the result in a comment after the selection. (Ctrl+L) */ var provincias = [ ['Mendoza', 'San Juan', 'San Luis', 'La Rioja'], ['Catamarca', 'Tucuman', 'Salta', 'Jujuy'] ]; var temperaturas = [-5, -6, -7, -8]; var reporte = ""; for(var i=0; i<provincias.length; i++) { for(var j=0; j<provincias[i].length; j++) { reporte += "En " + provincias[i][j] + " hoy hace " + temperaturas[j] + " grados.\n"; }