write a program to print the perimeter and area of rectangle
Answers
Answered by
2
Answer:
Program to find the perimeter of the 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