id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dsawyer@methacton.org intro_p4_level_1 > surfaceArea
prev  |  next  |  chance

Given the height, length, and width of a rectangular solid, return its surface area. Assume that all three dimensions are positive values.


surfaceArea(1, 2, 3) → 22
surfaceArea(7, 3, 5) → 142
surfaceArea(2, 10, 4) → 136

...Save, Compile, Run (ctrl-enter)

public int surfaceArea( int len, int width, int h){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy