Write a Basic program that calculate the Area and perimeter of any rectangle.
Answers
Answered by
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
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