Computer Science, asked by Sangamyadav4840, 11 months ago

Write a program to input length and breadth of a pond and find its area by using user defined function.

Answers

Answered by vedantisurani
9

Answer:

there is the method to write this program in c language.

Attachments:
Answered by nachiringunish
26

Answer:

Explanation:

#include<stdio.h>

#include<conio.h>

voidmain ( );

{

int a,b,c,area;

printf("enter length and breadth");

scanf("%d%d",&l,&b);

c=area(l,b);

printf("area of pond is %d%d",c);

getch( );

}

int area (int x, int y)

{

int area ;

area= x*y ;

return (c);

}

Similar questions