Generation

generate functionThu, 04 May 2023

Determinar si el número es múltiplo de 3 o 2 o 5

if (n % 3 == 0 || n % 2 == 0 || n % 5 == 0) { return true; } return false;

Questions about programming?Chat with your personal AI assistant