hey guys, I'm new to programming. I am trying to calculate the volume and the surface area of a cylinder using classes in C++. I keep getting two errors saying that 'class Cylinder' has no member named 'surface_area' and 'class Cylinder' has no member named 'write'. I know this is probably a trivial issues for most people in programing. However, I am at a loss for what I need to change. any input would be greatly appreciated.
**this is my main ()**
#include <iostream>
#include <iomanip>
#include "cylinder.h"
using namespace std;
int main()
{
double radius, height, base, width;
cout << fixed << showpoint << setprecision(2);
cout << "Enter cylinder height and radius >>> ";
cin >> height >> radius;
Cylinder one (radius, height);
cout << "The cylinder volume is " << one.volume () << endl;
cout << "The cylinder surface area is " << one.surface_area () << endl;
one.write(cout);