Rithik Bhandari

Results 2 comments of Rithik Bhandari

The last else condition is not wrapped in curly braces. Therefore the size=22.0 statement does not come under any condition and is always executed when setSizeAndColor is called and hence...

You're welcome 😃