circle.cpp
// constructor taking a radius as argument
constructor taking a radius as argument
constructor taking a radius as argument
Circle::Circle(float r){ 
    try{
      if (r < 0){
          throw "WARNING: radius of a circle is supposed to be nonnegative!";
      }
   } catch (const char* msg) {
      std::cout << msg << std::endl;
   }
    radius = r; 
}
Circle :: Circle ( float r ) { try { if ( r < 0 ) { throw " " ; } } catch ( const char * msg ) { std :: cout << msg << std :: endl ; } radius = r ; }
constructor taking a radius as argument
constructor taking a radius as argument