Question 1: (5 marks) - What is the role of each function? - What is the base class, constructors, mutators, accessors and derived claws? - Predict the output iclasi ETrianele : publle shape publie; float setarea() area - sqrt (tloat (3}) is return. area; f return area; fleat getperimeter( ) f peri =3 side; ) return pert: protected: float area; 1; float peri; ifloat main (void) f. Square squ; ETriangle tris: char cholice; float c,s: bool run = true; while (run)t cout ce "Enter the number that refer to the shabe vou want to wseslnh-Seuare-na-taualiter if (c=c; in i cout \&f "Enter the side value n; cin 3 sy squ.setside(s); ) else 1f(c=2){ cout ce "Enter the side valueln"; cin si tri.setside(s); =e tri.getarea() \&c endl; 1 else \& cout 4 meuld you like to try againt( (Y/11)hn; if (choice an 'Nn' 11 choice = 'n') cin > ) chofce; run - false;.