#NO2
r , h = map(float,input("输入圆柱体的半径和高").split(','))
p = 3.14
area = p * r ** 2
volume = area * h
print ('底面积为:',area)
print ('体积为:',volume)
#NO3
feet = float (input("Enter a value for feet:"))
meters = 0.305 * feet
print('%d feet is %.4f meters '%(feet,meters))
#NO4
kilograms = float (input ('Enter the amount of water in kilograms:'))
inital = float (input ('Enter the initial temperature:'))
final = float (input ('Enter the final temperature'))
Q = kilograms * (final - inital) * 4184
print ('The energy needed is ',Q)