AD4BP
For fuction x^2-5
#include< stdio.h >
#include< conio.h >
void fun(int);
void main()
{
int n;
clrscr();
printf("Enter no for calculation:");
scanf("%d",&n);
fun(n);
getch();
}
void fun(int n)
{
int r;
r=n*n-5;
printf("%d",r);
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)