Problem Statement - B02C-2017D
Define a class RING in Python with following specifications
Instance Attributes - RingID # Numeric value with a default value 101 - Radius # Numeric value with a default value 10 - Area # Numeric value Methods: - AreaCal() # Method to calculate Area as # 3.14*Radius*Radius - NewRing() # Method to allow user to enter values of # RingID and Radius. It should also # Call AreaCal Method - ViewRing() # Method to display all the Attributes
Solution
CSKC| Created: 12-Jan-2019 | Updated: 12-Jan-2019|CBSE12D-2017