wh
public cpp v1 · immutable// Calculate the volume of a planet// Include the Radius at run-time via cin operator#include <iostream>using namespace std; double r;char planet;double rcubed;float pi = 3.1415;int main() { cout << "What is the name of your planet? "; cin >> planet; cout << "Please type the radius of for Planet" << planet; cin >> r; cout << "The volume of << planet << "with a radius of" << r << "in cubic feet is: "; rcubed = r * r * r; cout << ((4/3) * pi) * rcubed; cout << endl; }