Welcome!



I'm Alexander Rahardjo. Here is some tutorials with its algorithms and source codes for solving some programming problem with some programming languages. Check this out and enjoy to learn programming with this site. For question you can ask by the "Visitors" box..Thanks






There is a program for Fibonacci Number normal and abnormal


#include "stdio.h"
#include "conio.h"

int main(void)
{
int a,b,c,i,input;
a=0;
b=1;
c=1;
printf("Masukkan banyaknya deret fibonacci= ");
scanf("%d",&input);
printf("Deret Fibonacci= ");
for (i=1;i<=input;i++)
{
printf("%d ",c);
c=a+b;
a=b;
b=c;
}
getch();
return (0);
}




Download the code here

Posted in Label: , , Diposting oleh Alexander Rahardjo  

0 komentar:

 



Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds
Last Edited by PhOeNiXxX ™
.