MCA Assignments C++
1. WAP to check a number is even or odd.
2. WAP to find the largest of three numbers.
3. WAP to check whether a number is prime or not.
4. WAP to find factorial of a number using recursion.
5. WAP to find sum of all the elements of array.
6. WAP to reverse a number.
7. WAP to check whether a number is Armstrong or not.
8. WAP to display information of student (name, age, year, course) by
using class.
9. WAP to display information of a book (title, author_name, price)
by using scope resolution operator.
10. WAP to display information of employees (Employee_id,
Employee_name, Employee_salary) using Array of objects. [Here,
no. of employees should be 3.]
11. WAP to display information of a Book (book_title, book_author,
price) using pointers to class.
12. WAP to display information of student (Name,Age,Year,Course)
by using array of pointers to the class.[Here, number of student
should be 3]
13. WAP to demonstrate passing objects as an argument to a function.
14. WAP to demonstrate static class members (static data member,
static member function).
15. WAP to demonstrate multiple constructor (default constructor,
parameterized constructor, copy constructor) and destructor.
16. WAP to demonstrate use of this pointer.
17. WAP to demonstrate use of friend function.
18. WAP to demonstrate use of friend class.
19. WAP to demonstrate single inheritance.
20. WAP to demonstrate multiple inheritance.
21. WAP to demonstrate multilevel inheritance.
22. WAP to demonstrate constructor and destructor in derived class.
1. WAP to check a number is even or odd.
2. WAP to find the largest of three numbers.
3. WAP to check whether a number is prime or not.
4. WAP to find factorial of a number using recursion.
5. WAP to find sum of all the elements of array.
6. WAP to reverse a number.
7. WAP to check whether a number is Armstrong or not.
8. WAP to display information of student (name, age, year, course) by
using class.
9. WAP to display information of a book (title, author_name, price)
by using scope resolution operator.
10. WAP to display information of employees (Employee_id,
Employee_name, Employee_salary) using Array of objects. [Here,
no. of employees should be 3.]
11. WAP to display information of a Book (book_title, book_author,
price) using pointers to class.
12. WAP to display information of student (Name,Age,Year,Course)
by using array of pointers to the class.[Here, number of student
should be 3]
13. WAP to demonstrate passing objects as an argument to a function.
14. WAP to demonstrate static class members (static data member,
static member function).
15. WAP to demonstrate multiple constructor (default constructor,
parameterized constructor, copy constructor) and destructor.
16. WAP to demonstrate use of this pointer.
17. WAP to demonstrate use of friend function.
18. WAP to demonstrate use of friend class.
19. WAP to demonstrate single inheritance.
20. WAP to demonstrate multiple inheritance.
21. WAP to demonstrate multilevel inheritance.
22. WAP to demonstrate constructor and destructor in derived class.