6. Write an object-oriented program in C++ to generate the following series of numbers using constructor, destructor and inline member functions.
(i) (ii)
1 1
2 1
1
2
3 2
3
4 3
4
5 4
5
6 5
6
7 6
7
8 7
8
9 8
8 9
(iii) (iv)
9
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here