Computer Science, asked by vajpeyeeshreya06, 1 month ago

write a progarm to calculate and print the area and perimeter of a rectangle​

Answers

Answered by gourichakraborty806
0

Answer:

C

#include<stdio.h>

int main()

{ float a , b, c, d ,perimeter;

a= c= 5;

b=d= 4;

perimeter = 2*(a+b);

printf("\n\n Perimeter of Rectangle is : %f",perimeter);

return (0);

Explanation:

please Mark me as Brainlist.

Answered by itsPapaKaHelicopter
1

Answer:

Following are a progarm to calculate and print the area and perimeter of a rectangle:

  • #include<stdio.h>
  • int main()
  • { float a , b, c, d ,perimeter;
  • a= c= 5;
  • b=d= 4;
  • perimeter = 2*(a+b);
  • printf("\n\n Perimeter of Rectangle is : %f",perimeter);
  • return (0);

 \\  \\  \\  \\ \sf \colorbox{lightgreen} {\red★ANSWER ᵇʸɴᴀᴡᴀʙ}

Similar questions