...

/

Challenge: Calculate the Area and Perimeter

Challenge: Calculate the Area and Perimeter

Apply what you’ve learned about pointers in the coding exercise in this lesson.

Problem statement

You are given the radius of a circle and the length and breadth of a rectangle. Your task is to define the function, areaPeri( ).

void areaPeri(double radius ,double length ,double breadth ,double *cirArea,
double *cirPeri, double *recArea ,double *recPeri
...
Access this course and 1400+ top-rated courses and projects.