#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
int main (void){
int n=1,a=0,b=1,c,x;
printf("%d %d",a,b);
for(x=1;x==n;x++){
c=a+b;
printf(" %d",c);
a=b;
b=c;
if(c<=500)
n++;
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: