write a function that will get a variable number


Write a function that will get a variable number of input arguments: the length and width of a rectangle, and possibly also the height of a box that has this rectangle as its base.  The function should return the rectangle area if just the length and width are passed, or also the volume if the height is also passed.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write a function that will get a variable number
Reference No:- TGS0217634

Expected delivery within 24 Hours