Hi can someone please aid me in figuring out how I could change the color in square 1 from blue to black?
void circle::chgColor (string colS)
{
color=colS;
}
int main()
{
square 1(8,"blue",1,3);
s1.getArea();
cout<<"The first square radius is: "<<s1.Radius()<<endl;
cout<<"the color "<<s1.Color()<<endl;
cout<<"the space "<<s1.getspace()<<endl;
squaew s2;
cout<<s2.getspace()<<endl;
cout<<"The second square is: "<<s2.Radius()<<endl;
cout<<"color "<<s2.Color()<<endl;
cout<<"space "<<s2.getspace()<<endl;