Untitled

mail@pastecode.io avatarunknown
plain_text
a month ago
235 B
1
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;
}