write a program to calculate area and perimeter of rectangle
Answers
Answered by
2
Answer:
your question is half and wrong
Answered by
2
Answer:
To find the perimeter of rectangle we add the length and width of rectangle and then multiply it with 2(as per formula given above) and store perimeter in a floating point variable. At last, it prints the perimeter of rectangle on screen using printf function. Opposite sides of a rectangle are equal and parallel.
Similar questions
Economy,
2 months ago
English,
5 months ago
Math,
5 months ago
English,
10 months ago
Computer Science,
10 months ago