Cody

Problem 44943. Calculate Amount of Cake Frosting

Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you need to put frosting on (all around the sides and the top).

Return the result in output variable SA.

Solution Stats

43.56% Correct | 56.44% Incorrect
Last Solution submitted on Jan 28, 2020

Problem Comments