Programming Test rivew!!! Please help | Sololearn: Learn to code for FREE!
0

Programming Test rivew!!! Please help

Can someone please find the errors of this code for me? It would be a BIG helpl as I'm personally struggling on finding them. Thank you!!! Implement the Circle class and then add the relational operators <, >, ==, and != in the class to order the Circle objects according to their radii. Also provide the << operator for the Circle class. class Circle { public: Circle(); Circle(double); double getArea(); double getRadius(); void setRadius(double); private: double radius; };

31st Mar 2017, 2:30 AM
Adiel Cowo
Adiel Cowo - avatar
1 Answer
+ 10
You didn't even implement the errors we should find -.- I guess this is your homework?
18th Apr 2017, 1:29 PM
Tashi N
Tashi N - avatar