answersLogoWhite

0

interface Shape {

public double getArea();

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

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 pascal program that compute an area of a triangle?

{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.


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


Calculating Surface Area?

calculating surface area


Words to write a rule for calculating the area of a parallelogram?

base times height just like a rectangle easy right


Write a program in pascal that calculates the area of a circle?

{Area s the area of cube} {Length is the length of one side of the cube} program AreaofCube; var Area,Length:real; begin write('Enter the length of cube: '); readln(Length); Area:=6*(Length*Length); writeln('The area of cube is ', Area, ' cm^2.'); end.


What is the equation for calculating the area of a circle?

The equation for calculating the area of a circle is A r2, where A represents the area and r is the radius of the circle.


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.


What is the base equation for calculating the area of a rectangle?

The base equation for calculating the area of a rectangle is length multiplied by width.


What is the fa formula for calculating the area of a circle?

The formula for calculating the area of a circle is A r2, where A represents the area and r represents the radius of the circle.


Which programming language can be used for calculating area of a polygon?

Any of them. Calculating the area of a polygon is a relatively simple mathematical task.


Formula for calculating the area of sphere?

Formula for calculating the area of sphere is : 4 * pi * r * r