8 kyu

Surface Area and Volume of a Box

9,099 of 30,960KaraM

Description:

Write a function that returns the total surface area and volume of a box.

The given input will be three positive non-zero integers: width, height, and depth.

The output will be language dependant, so please check sample tests for the corresponding data type, (list, tuple, struct, query, et cetera).

Geometry
Fundamentals

More By Author:

Check out these other kata created by KaraM

Stats:

CreatedDec 2, 2015
PublishedDec 2, 2015
Warriors Trained42651
Total Skips2803
Total Code Submissions63405
Total Times Completed30960
JavaScript Completions9099
Ruby Completions1068
Python Completions11959
CoffeeScript Completions48
C# Completions1779
Elixir Completions360
Java Completions3425
Julia Completions75
PHP Completions855
Racket Completions47
Go Completions2030
SQL Completions1350
C Completions58
Lua Completions7
Total Stars176
% of votes with a positive feedback rating89% of 3001
Total "Very Satisfied" Votes2424
Total "Somewhat Satisfied" Votes481
Total "Not Satisfied" Votes96
Ad
Contributors
  • KaraM Avatar
  • cris Avatar
  • Unnamed Avatar
  • GiacomoSorbi Avatar
  • hilary Avatar
  • aryan-firouzian Avatar
  • Chrono79 Avatar
  • docgunthrop Avatar
  • mitron6 Avatar
  • Deepfreeze Avatar
  • rowcased Avatar
  • FArekkusu Avatar
  • hobovsky Avatar
  • stellartux Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
  • dfhwze Avatar
  • KayleighWasTaken Avatar
  • PetitLu117 Avatar
Ad