rendered paste body//Michael Romero
//Lab # 5
//Develope a class that describes a cirle, gives area of that circle, displays
//the equation of that circle, and gives the circumference of that cirlce.
#include <iostream>
#include <cmath>
#include "circle.h"
using namespace::std;
//Michael Romero
void circle::display(){
cout << "(x";
if (h < 0)
cout << "+" << abs(h);
else cout<< "-" << h;
cout << ")^2 + (y";
if (k <0)
cout << "+" << abs(k);
else cout << "-" << k;
cout << ")^2 = " << r*r;
}
double circle::area(){
return (3.141)*r*r;
}