Computer Science, asked by maddelaaakanksha529, 4 months ago

write a basic program to find area of rectangle ​

Answers

Answered by Anonymous
1

C Program

  • #include <stdio.h>
  • int main()
  • {
  • int width=5;
  • int height=10;
  • int area=width*height;
  • printf("Area of the rectangle=%d",area);
  • }

Answered by NajwaTIPS
0

Answer:

Heya,

Your answer-

Java program to calculate the area of a rectangle. There are maybe so many methods in order to write the java program to find the area of a rectangle. Here we share the two methods, sample method -1, and sample method-2 with online compiler and execution tool.

rectangle is a plane figure with four straight sides or just four right angles.

Area of rectangle- Length X Breadth. Or Length X Width

Hope it helps!!

Similar questions