im stuck with objects
thanks!Code:class solar { int satellites; }earth, venus; int main() { string planet; cout << "enter a planet name"; getline(cin, planet); cout << planet << " has " << earth.satellites << " satellites"; /*i would like to reference the object name using the string variable, i.e planet.satellites*/ }