es fibo
bool es_Fibo(int n){
bool fibo = false;
int a = 0, b = 1;
int c = a + b;
if(n == 0 || n == 1){
printf("es fibo\n");
fibo = true;
}else{
while(c < n){
c = a + b;
a = b;
b = c;
if(c == n){
printf("es fibo\n");
fibo = true;
}
if(c > n){
printf("no es fibo\n");
fibo = false;
}
}
}
return fibo;
}
Also in C:
- diamond dataset in r
- strtok
- molotovn't ribbentropn't pact
- router solicitation and advertisement magic is used by
- sdl out of memery
- confirm sweet alert
- read a binary file c
- ImportError: No module named 'skimage'
- atoi c
- potencia recursiva
- celsius to fahrenheit formula
- is it possible to access argv in function
- blockchain implementation
- multiplication in c
- fgets langage c
- Search Code Snippets
- hello world program
- code in c skipping over scanf
- how to ascii art in c
- visual studio code
- how to use malloc in c
- how to go to top of file in vim
- remove element from np array
- obby übersetzung