Write a program to calculate area of rectangle using subroutine.
Answers
Answered by
0
Answer:
program :
#include <stdio.h>
int main()
{
int width=5;
int height=10;
int area=width*height;
printf("Area of the rectangle=%d",area);
}
output :
Area of the rectangle=50 .
Similar questions