help me

write a c++ statement that defines a circle object named circle1 with radius 5


I dont understand :( explain me pleasee.
Last edited on
There isn't much info on what you should do. It looks like it wants you to create an object of type circle and set its radius to 5.
1
2
3
4
5
	const double RADIUS = 5;

	string circle1 = "circle";

	cout << "The radius of the " << circle1 << " is " << RADIUS << ".";

is that what it's asking??
idek
Last edited on
Topic archived. No new replies allowed.