Which of the following code displays the area of a circle if the radiu

Loading

โœช Choose the correct option.

Which of the following code displays the area of a circle if the radius is positive.

A. if radius != 0: print(radius * radius * 3.14159)
B. if radius >= 0: print(radius * radius * 3.14159)
C. if radius > 0: print(radius * radius * 3.14159)
D. if radius <= 0: print(radius * radius * 3.14159)

Leave a Comment