Professional Documents
Culture Documents
3. a) Write a program to print the prime nos between 1 to n where n is the given no.
b) Write a program to illustrate the use of simple arithmetic operations such as addition, subtraction,
multiplication and division using member functions, these are defined out of the scope of the class
definition.
6. a) Write a program to accept a no. and check the no. is Palindrome or not.
7. a) Write a program to accept a no. and check the no. is Armstrong or not.
b) Complex Class performing binary operator overloading (should include binary +,-)
b) Write a program to access the private data of a class by non-member function through friend.
b) Write a program to demonstrate function overloading (area of triangle, rectangle circle and square).
b) Program to implement Template function to find min and max of given two of numbers
15. a) Write a program to find whether the given string is palindrome or not using functions (user defined).