write a progarm to calculate and print the area and perimeter of a rectangle
Answers
Answered by
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
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);
Similar questions