C programming
Web tutorials on C programming
Pages
Home
plsql
Web development
minor projects
java programming
Python Programming
Friday, 25 September 2015
area of circle using functions
#include<conio.h>
#include<stdio.h>
void main()
{
float area(float);
float r,z;
clrscr();
printf("enter the radius");
scanf("%f",&r);
z=area(r);
printf("area is %f",z);
getch();
}
float area(float a)
{
float f;
f=3.14*a*a;
return f;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment