thanks guys i finally got it, it took some time and understanding but atleast i got it, this is my final program for those that want to look at it
Code:
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int n,i,c=1,n2=1,two;
printf("How many Fibonacci numbers do you want to compute? ");
scanf("%d", &n);
if (n<=0)
printf("The number should be positive.\n");
else {
printf("\n\n\tInteger Fibonacci(Int)\n\t=====================\n");
for (i=0; i<=n; i++) {
printf("%12d %12d\n", i, c);
two=c+n2;
c=n2;
n2=two;
}
}
getchar();
getchar();
}