answersLogoWhite

0

#include<stdio.h>

void main()

{

int r;

int pi=3.14;

float cir,area;

printf("/n enter the radius of the circle");

scanf("%d",&r);

cir=2*pi*r;

area=pi*r*r;

printf("the circumference of the circle is%d",cir);

printf('the area of the circle is %d",area);

}

check related links

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Write a c program to find the area and perimeter of circle?

Learn c programming and geometry. It will be easy when you know both.


How do you write a qbasic program to find area and circumerence of a circle?

Write a program that calculates the area of a triangle in QBASIC


How do you write Square program using vb?

write a vb program to find the magic square


How do you write socket program in c?

For first find an example program.


Write a program to find the grade obtained by the students of a class using structure?

Write a program to find the grade obtained by the students of a class


Write a c program to find eigenvalue of a matrix?

Yes, do write. That's what you always have to do when you have got a homework-program.


How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


Write a menu driven program in java to find area of different shapes. 1. Circle 2. Triangle 3. Rectangle?

Remember that the area of a rectangle is width * height: static int getArea(Rectangle r) { return r.width * r.height; }


Write a c program to find Volume and surface area of cube?

Write a c program to compute the surface area and volume of a cube


Write a program to find the area of circle in c?

PROGRAM TO FIND AREA & PERIMETER OF CIRCLE IN C++#include #include void main(){clrscr();double rad, area, perimeter;coutrad;area=3.14*rad*rad;perimeter=2*3.14*rad;cout


How could you use a Venn Diagram to help find the greatest common factor of two Numbers?

Write the factors of the first number in the left circle. Write the factors of the second number in the right circle. Write the numbers that are the same in each individual circle in the space where they intersect.


How do you find an area of a shape rectangle square and a circle in C program?

By using that one thing.