Computer Science, asked by abhi861727, 1 month ago

write a basic program that calculate the area and perimeter of any rectangle​

Answers

Answered by minyoongi28
15

#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);

}

Similar questions