This preview shows page 1. Sign up to view the full content.
Unformatted text preview: cin >> Diameter cout << "Enter the height of the tree in feet: " cin >> Height cout << "Enter the weight of the tree in tons: " cin >> Weight Diameter = Diameter / 12 Weight = Weight * 2000 Mean = ( Weight / (Height * pow(Diameter, 2) * pi)) M cout << "The mean number of pounds per cubic foot of the tree is: " << Mean <<endl return 0 }...
View Full Document
This note was uploaded on 04/14/2008 for the course CSI 1430 taught by Professor Aars during the Spring '08 term at Baylor.
- Spring '08