Generation

generate functionThu, 13 Apr 2023

codigo para seprar los 3 primeros numeros del resto

public static int[] separa(int numero) { int a = numero / 100; int b = numero % 100; int c = b / 10; int d = b % 10; int[] numeros = {a, c, d}; return numeros; }

Want to kickstart your project?Use the new AI Studio to create your code