C++, Programmimg Languages

Important programs of OOPs using C++ 

Following is the list of the important programs of OOPs using C++. 

1. Basic program to display hello world

2. Demonstration of simple if statement

3. Greatest of two numbers using if statement

4. Greatest of two numbers using if else statement

5. Greatest of three numbers using nested if else statement

6. Print days of week using elseif statement

7. Print months of year using swich statement

8. Find Factorial of number using function

9. Demonstration of structure 

10. Print Fibonacci series

11. Demonstration of member function defined inside the class

12. Demonstration of member function defined outside the class

13. Demonstration of the use of destructor

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s