#include<stdio.h>
#include<conio.h>
void main ()
{
int n, i ;
long int fact (long int);
clrscr();
printf("ENTER THE NUMBER UPTO WHICH FACTORUALS ARE NEEDED : ");
scanf("%d",&n);
printf("THE FACTORIALS UPTO %d ARE :\n",n);
for(i = 1;i<=n;i++)
{
printf("%d! = %d\n",i,fact(i));
}
getch();
}
long int fact (long int m)
{
if(m <= 1)
return 1;
else
return m*fact (m-1);
}
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement 
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 

To find factorial of a number unto x.

 

 

 

 

 

 

 


 





1 Program to define function cube that calculate the cube of the integer from 1 to 10.
2 To find largest of two numbers using functions
3 To find sum of three numbers using functions having arguments with return value.
4 To find factorial of a number using functions
5 To find factorial of a number unto x.
6 To generate Fibonacci series using recursion.
7 To swap two numbers using call by reference method and display the numbers before, during and after the function string.
8 To swap two numbers using call by value method and display the numbers before ,during and after the function string
9 Write a recursive function to determine the sum of the integers 1,2,3,4………x.
10 Program to find binomial coefficient using function.
11 Program to find common division two numbers using recursion
12 Program to generate the table of a number entered by user using recursion
13 Program to find least common division.

 


     
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement