// this is a C program that read radius of circle and display area.
#include<stdio.h>
#include<conio.h>
void main()
{
float r;
float pi=3.14;
clrscr();
printf("Enter value of radius :");
scanf("%f",&r);
printf("The area of the cicle is %f.",pi*r*r);
getch();
}
Related Posts
C program that read two numbers and calculate addition,subtraction ,multiplication division.
// this is a C program that read two numbers and calculate addition,subtraction ,multiplication div[...]
Binary Search: Source Code
Binary search source code #include<stdio.h> #include<conio.h> void main() { &nbs[...]
C program that read three numbers (a,b,c) and finds the maximum number
// this is a C program that read three numbers (a,b,c) and finds the maximum number. #include<st[...]
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
If you have any confusion, Please leave a comment. I will assist you. Do not include any URL in comments.
Click to see the code!
To insert emoticon you must added at least one space before the code.