This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
optn=1;
r=3;
h=6;
y_correct = 36*pi;
assert(isequal(surface_area_cyl(optn,r,h),y_correct))
|
2 | Pass |
optn=5;
r=3;
h=6;
y_correct = 18*pi;
assert(isequal(surface_area_cyl(optn,r,h),y_correct))
|
3 | Pass |
optn=2;
r=2;
h=2;
y_correct = 16*pi;
assert(isequal(surface_area_cyl(optn,r,h),y_correct))
|
299 Solvers
Number of 1s in a binary string
1232 Solvers
Magic is simple (for beginners)
1115 Solvers
213 Solvers
34 Solvers