this program in 30 mins

Create a class Square with attribute Border_length, with default value = 1. Provide member functions that calculate the perimeter and the area of the square. Also, provide set and get functions for the Border_length attribute. The set functions should verify that Border_length is a floating-point number larger than 0.0 and less than 15. Define a square object on the main and find the perimeter and the area of the square with 6 border length

 

Looking for a Similar Assignment? Let us take care of your classwork while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Use Code FREE15