Search
 
SCRIPT & CODE EXAMPLE
 

C

resto de division recursiva

 // devuelve el reseto de la division entera entre dividendo y divisor
 // no se puede usar el operadoro % ni cocientini
  int resto(int dividendo, int divisor){
    int res;

    if(dividendo < divisor){ //caso base
      res = dividendo;
    }else{
      res = resto(dividendo - divisor, divisor);
    }

    return res;
  }
Comment

PREVIOUS NEXT
Code Example
C :: leer string en c 
C :: anthracnose pronounce 
C :: permutation and combination program in c 
C :: error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-werror=alloc-size-larger-than=] 
C :: best graphic video template for editing free download 
C :: kstrdup 
C :: BST or NOT ?? 
C :: code wars responsable drinker 
C :: how to stop aws alb temporarily 
C :: table de hachage en c 
C :: How to scale all columns in dataframe in R? 
C :: c stack 
C :: change data type inline in c 
C :: transform yt video into background overlay 
C :: Convert arduino String to C language String 
C :: getopt optstr 
C :: reverse string in c 
C :: fgets langage c 
C :: levenshtein c 
C :: exponent calculator 
C :: class to const void * 
C :: increase size of array in c 
C :: youtube code 
C :: print name of file argv c 
Dart :: future delayed flutter 
Dart :: flutter check if string is number dart 
Dart :: bad state insecure http is not allowed flutter 
Dart :: FirebaseOptions cannot be null when creating the default app 
Dart :: flutter close dialog 
Dart :: dart async vs async* 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =