Question: 6. The getArea function returns a double number and has no formal parameters. a) Rewrite a valid function call getArea and assign its return value

6. The getArea function returns a double number and has no formal parameters. a) Rewrite a valid function call getArea and assign its return value to a double variable named area. (2 marks) b) Rewrite a valid function prototype for the getArea function from question a). (2 marks) (CLO1:PLO1:C1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
