cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
I'm having a lot of problems with this c
I'm having a lot of problems with this code;
May 1, 2012 at 12:12am UTC
abcd1234
(1)
"Assume the tanker is a cylinder with length 43 feet and capacity 9500 gallons. In feet, what is the diameter? "
I'm very new at this and I don't even know how to begin to answer this question.
May 1, 2012 at 2:18am UTC
vin
(300)
Start with the formula for the volume of a cylinder.
May 2, 2012 at 2:48am UTC
buffbill
(467)
You also need to convert gallons into cubic feet (6.288 imp gal == 1 cu ft)
May 2, 2012 at 10:38am UTC
viliml
(791)
you first divide the no. of gallons with 6.288 to get cubic feet, and then you take the square root of (9500/6.288)/43, and then you get the radius. I think then you know how to get the diamater.
Topic archived. No new replies allowed.