New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Act_TSIP107FPC02_4.2

Map Quiz

Played 0

About this activity

Identifica los pasos para calcular el factorial de un número haciendo uso de funciones

Created by

Mexico

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Act_TSIP107FPC02_4.2
 

Act_TSIP107FPC02_4.2Online version

Identifica los pasos para calcular el factorial de un número haciendo uso de funciones

by mario gomez lopez
1 Iniciamos o declaramos la función factorial(int n) 2 En nuestro programa principal, declaramos la variable fact y n de tipo entero. Solicitamos el numero al que se le calculará el factorial y se almacenará en la variable n Posteriormente a través de la función cout<<, invocamos la función factorial(n) donde se lleva a cabo la recursividad 3 Definimos o creamos la función factorial(int n), donde n es el número a calcular su factorial. Usamos una variable de tipo entero de nombre fact que almacenará el resultado del factorial. Usamos una condición if para definir, si el número que ingreso el usuario es un 0 o un 1 entonces el resultado final será 1. De lo contrario se inicia a calcular el factorial a través de la formula antes mencionada: n! = n * (n-1)! En nuestro caso sería la formula: n * factorial(n-1) Y retornamos el valor de tipo entero en este caso la variable fact
Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.