Write an algorithm to calculate the area and the volume of a sequence using the formula
A= 4π r3
V= 4\9π r3
Answers
Answered by
0
read a,b
/*a stands for the value of pie and b stands for the value of radius*/
A=(4*a)*(b*3)
V=((4/9)*a)*(b*3)
print A
print V
Similar questions