answersLogoWhite

0


Best Answer

class area{ int l,w,a; a=i*w; printf"area of rectangle is= %d",a; endl; }

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program to find area of circle using class in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Using a computer how do you create a program that calculates the circumference and area of a circle?

a circle has an area of 36pie square centimeters what is the circumference ?


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

By using that one thing.


Write a program to calculate the area of a circle The equation to determine the area of a circle is area equals 3.1416radiusradius Assume that the circle has a radius of 4 inches?

Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.


Draw a flowchart that will accept radius and display the area of circle?

program that display the area of a circle of a reduce


What is the area of a circle 2cm?

Using 3.14 as Pi the area of circle is: 0


Find diameter of the circle in java program?

public class CircleDiameter { publicCircleDiameter() { super(); } publicfloatgetDiameterFrmRadius(float radius){ return radius * 2; } /** * @param args */ public static void main(String[] args) { float radius = 5; CircleDiameter circle = newCircleDiameter(); float dia = circle.getDiameterFrmRadius(radius); System.out.println("Diameter of this circle is: " + dia); } }


What is the area of a circle of 21?

Using 3.14 as Pi the area of circle is: 0


What is the area of a circle 3yd?

Using 3.14 as Pi the area of circle is: 0


What is the area of a circle with a radius of 10 in using 3.14 for pi?

Using 3.14 as Pi the area of circle is: 314.0


What is the area of a circle with a diameter of 9.2in?

Using 3.14 as Pi the area of circle is: 66.44239999999999


What is the area of a circle with a diamiter of 3cm?

Using 3.14 as Pi the area of circle is: 0


What is the area of a circle with the diameter of 5?

Using 3.14 as Pi the area of circle is: 19.625