Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Fibonacci multiplos de 3 y menores que 30
//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; printf("1"); for( i =0; i<30; i++) { z= x + y; x = y; y = z; printf("\n %ld",z); if(z % 3 == 0) { printf(" %ld",z); } } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
MATRIZ DE CADENAS
Command Expressions in Gnu C: What Does Return Return?
Project 3 Part 1 v1.7
lab pro v.05
300
CO Assignment 1 Question 1
Spring 2017 Lab 4 v1
hello
A_141117_Primo02
child process
stackse - search stackoverflow differently
Please log in to post a comment.