Coding Bat three Feet To Meters

Status
Not open for further replies.

EpicTheron

Commendable
Mar 31, 2016
3
0
1,510
Given three numbers representing feet, convert each of the three to meters, add them together, and return the sum. Use a helper method to do the actual conversion from feet to meters. Round your final answer to three decimals. meter = 0.305 * feet

threeFeetToMeters(1, 1, 1) → 0.915
threeFeetToMeters(5.3, 20, 99) → 37.912
threeFeetToMeters(3, 4, 5) → 3.66
 

EpicTheron

Commendable
Mar 31, 2016
3
0
1,510
MERGED QUESTION
Question from EpicTheron : "Coding Bat Three Meters To Feet"

Given three numbers representing meters, convert each of the three to feet, add them together, and return the sum. Use a helper method to do the actual conversion from meters to feet. Round your final answer to three decimals. Use the conversion equation meter = 0.305 * feet

threeMetersToFeet(0.915, 0, 0) → 3.0
threeMetersToFeet(5, 5, 5) → 49.18
threeMetersToFeet(20, 33.252, 100.2) → 503.121
 

rgd1101

Don't
Moderator


business computing? more like failing programming class
 

Rogue Leader

Distinguished
Moderator
MERGED QUESTION
Question from EpicTheron : "CodingBat common End"





 
Status
Not open for further replies.