Generation

generate functionSat, 08 Jul 2023

Suma de dos números pares

public int suma(int a, int b) { if (a % 2 == 0 && b % 2 == 0) { return a + b; } else { return 0; } }

Questions about programming?Chat with your personal AI assistant