Generation

generate functionWed, 12 Apr 2023

crear un programa para calcular el factorial de un numero ingresado por el teclado

int factorial(int n){ int fact = 1; for(int i = 1; i <= n; i++){ fact *= i; } return fact; } factorial(4);

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