Computer Science, asked by studysandhya808, 2 months ago

Write a program to calculate area of rectangle using subroutine.​

Answers

Answered by sanketkoladiya1811
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