answersLogoWhite

0


Best Answer

include<stdio.h>

#include<conio.h>

void main()

{

int length, breadth, area ;

printf("\n Enter the length & breadth of a Rectangle");

scanf("d",&length,&breadth);

area=length*breadth;

printf("\n Area of the Rectangle=%d",area);

getch();

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c sharp program to find the area of square?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 the program that will ask the user to enter a number of per side of a square and display its outline?

#include&lt;stdio.h&gt; int main() { int side,area of square; print f("Enter the length of side\n"); scan f("%d",&amp;side); area of square=side*side; print f(the area of square is %d\n"area of square); return 0; }


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.


What is the program to calculate the area of a square?

base X height


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


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.


Program to find area of sphere?

Surface area of a sphere = 4*pi*radius2 square units


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.


How do you write the positive square root of a number as a length of a side of a square with a given area?

You find the square root an then label it as the side.


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 ?


Could you write your name and address on paper with an area of 0.01 square metres?

no


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

By using that one thing.