Need Help With My Programming Create A Class Named Cylinder With A Field For The

Need help with my programming:
Create a class named Cylinder with a field for the radius. Be sure to include
the following:

a default constructor that sets the radius to 3
a setter function to set the value of the radius
a setter function to set the value of the height
a getter function to return the value of the radius
a getter function to return the value of the height
a method to compute and return the cylinder’s surface area

Be aware that the surface area of a cylinder is 2 * pi * radius * radius + 2 * pi * radius * height.  Feel free to use the value of 3.14 for pi.
After creating this class, write a second class, TestCylinder, that creates an object with a radius of 10. It should also create a second Cylinder object that uses the radius set by the default constructor. Once the objects have been created, write code to display the surface area of both cylinders in an attractive fashion.
Submit both the Cylinder file and the TestCylinder file for grading.
Sample Session:
Please enter the radius:  5Please enter the height:  8The cylinder with a radius of 3 and height of 8 has a surface area of:  207.24The cylinder with a radius of 5 and height of 8 has a surface area of:  408.20
#include <iostream>using namespace std; class Cylinder{private :double radius;double height;public:Cylinder(){radius=3;}void setRadius(double r){radius = r;}void…
 
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”

What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"