Computer Science, asked by shobhak648, 9 months ago

Write a program to calculate the following surface area of a cube surface area of sphere total surface area of cylinder

Answers

Answered by Anonymous
1

Answer:

your answer is here

Explanation:

''' Python program to calculate Volume and  

Surface area of Sphere'''

# Importing Math library for value Of PI  

import math  

pi = math.pi  

# Function to calculate Volume of Sphere  

def volume(r):  

vol = (4 / 3) * pi * r * r * r  

return vol  

# Function To Calculate Surface Area of Sphere  

def surfacearea(r):  

sur_ar = 4 * pi * r * r  

return sur_ar  

# Driver Code  

radius = float(12)  

print( "Volume Of Sphere : ", volume(radius) )  

print( "Surface Area Of Sphere : ", surfacearea(radius) )  

plz answer the brainlliest

Similar questions