Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
235 B
2
Indexable
Never
#include <iostream>
using namespace std;

class book {
public:
    int pages;
    book()
    {
        pages = 250;
        cout << "the name of book";
        cout << "no. of pages";
    }
};

int main()
{
    book b;
    return 0;
}