Question:

program in c language to find factorial value fibonacci value

by Guest6671  |  12 years, 8 month(s) ago

1 LIKES UnLike

program in c language to find factorial value fibonacci value

 Tags: factorial, fibonacci, language, Program, Value

   Report

3 ANSWERS

  1. jane
    hello

    TO FIND FIBONACCI SERIES USING C PROGRAM
    void main()
    {
    int i=0,j=1,k=2,r,f;
    clrscr();
    printf("Enter the number range:");
    scanf("%d",&r);
    printf("\nFIBONACCI SERIES: ");
    printf("%d %d",i,j);
    while(k{
    f=i+j;
    i=j;
    j=f;
    printf(" %d",j);
    k++;
    }
    getch();
    }

    Dont have idea about factorial value

    hope it helps

  2. Guest931
    //PROGRAM FOR KNOWN FACTORIAL VALUE OF ANY NAMBER
    #include<stdio.h>
    #include<conio.h>
    int main()
    {
    int a,b;
    long int c=1;
    clrscr();
    printf("\n Enter a namber to know the factorial valude of them\n");
    scanf("%d",&a);
    printf("hear is the process of factorial value\n");
    for(b=1;b<=a;b++)
    {  printf("\t%d",b);
    c=c*b;

    }
    printf("\n\n The factorial value of of %d is %d",a,c);
    getch();
    return 0;
    }


    jast copy and past to your terbo c itwill work 100%.

    from SUBHAS MALIK(KOLKATA,INDIA)

    E_MAIL ME AT subhas.malik73@gmail.com(MOBILE +919732246842) FOR ANY HELP C,C++,ASP.NET,VISUAL

    FOXPRO,JAVA, FREANDS ARE ALSO INVITE ANY TIME.

    JAST SAY ALL IS WELL.
  3. Guest941
    //PROGRAM FOR KNOWN FACTORIAL VALUE OF ANY NAMBER
    #include<stdio.h>
    #include<conio.h>
    int main()
    {
    int a,b;
    long int c=1;
    clrscr();
    printf("\n Enter a namber to know the factorial valude of them\n");
    scanf("%d",&a);
    printf("hear is the process of factorial value\n");
    for(b=1;b<=a;b++)
    { printf("\t%d",b);
    c=c*b;

    }
    printf("\n\n The factorial value of of %d is %d",a,c);
    getch();
    return 0;
    }


    jast copy and past to your terbo c itwill work 100%.
    i know about factorial value 100% working it...
Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 13 years, 5 month(s) ago.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions