×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: aa aa
Added: Nov 29, 2021 9:14 AM
Views: 1231
Tags: no tags
  1. static void rellenar(int[] num){
  2.        Scanner teclado=new Scanner(System.in);
  3.        for (int i=0;i<num.length;i++){
  4.             System.out.println("introduce un numero");
  5.             num[i]= teclado.nextInt();
  6.        }
  7.     }