Computer Science, asked by adityarules21p7cz5l, 6 hours ago

Write a Basic program that calculate the Area and perimeter of any rectangle.​

Answers

Answered by favchoice313
3

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

Answered by Shindesushma6109
1

#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