/* program to compute steelvolume Sept 12, 1997 CS1711A Class*/ #include int main() { int number_bearings; double radius, total_volume, volume_of_one; cout << "Input a decimal number for the radius\n"; cin >> radius; cout << "How many bearings?\n"; cin >> number_bearings; volume_of_one = 4/3*3.14159*radius*radius*radius; total_volume = number_bearings* volume_of_one; cout << "The total volume required for " << number_bearings; cout << "bearings of radius" << radius << " is "; cout << total_volume; return 0; }