function for calculating how many ducks that can fit in a normal size bathtub
double area(double length, double width, double height) { double area=length*width*height; return area; } int ducks(double area) { int ducks=(int)(area/0.5); return ducks; } Console.WriteLine(ducks(area(189, 78, 55)));