Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Practica 5 fibonacci
//gcc 5.4.0 #include <stdio.h> int main(void) { long int i; long int x=0; long int y=1; long int z=1; short int contador=0; printf("1"); for( i =0; i<30; i++) { z= x + y; x = y; y = z; printf(" %ld",z); contador++; } printf("\n%hd",contador); return 0; }
run
|
edit
|
history
|
help
0
PRACTICE 1
test
fork
ordenarcifrademenosamas
swap_talent.c
fibonacci1
FUNCION strstr()
Jai
Project 3 Part 1 v1.6
sjf