Welcome to C++ programs practice and a solution page. Here you can practice various categories program and you can also find the solution of programs with logic. You can find the solution to most famous problems with logic and full explanation. All programs are successfully compiled and tested in dev C++ in case of any program showing error let me know so, I can fix the problem. If any c++ program does not have a header file it is a problem of the website, you can add c++ master header file that is #include. In this site, you can find the solution of India's most reputed website like Geeks For Geeks and hackerRank in c++. If you find anything wrong with our code or you have a better solution for a particular code please comment below or you can publish your post on our website.
Check This:- Learn and Design Web pages and Website.
Note:- I compile all c programs in dev c++, if there is any case program is not working and showing error please let me know in comment section. If you are using adblocker, please disable adblocker because some functions of the site may not work correctly.
Extreme Recommended:- Like our Facebook Page or Join our Facebook Group and Google plus Community for up-to-date for a new post or if you have any query and suggestion, you can ask here (facebook group, facebook page, and google plus). Plese share our post on social media platforms and also suggest to your friends to join our groups and like our page, don't forget to subscribe. Enter your email and click to subscribe.
1. Simple Programs
2. If / Else Statement Programs
3. Loop Programs
4. Switch Case programs
5. Array Programs
6. String Programs
7. Function Programs
8. Pointer Programs
9. Structure Programs
10. Class Programs
11. File Handling Programs
12 Series Programs
13. Pattern Programs
14. Scheduling Algorithm Programs
15. Sorting Programs
16. Searching Programs
1. C++ Program To Find Area And Circumference Of Circle
2. C++ Program To Print Ascii Value Of Character
3. C++ Program To Find Area Of Triangle
4. C++ Program to Convert a person's name in Abbreviated
5. C++ Program For Calculate A Simple Interest
6. C++ Program To Find Greater No. Among given Three Number
7. C++ Program To Find The Gross Salary Of An Employee
8. C++ Program For Calculate Percentage Of 5 Subjects
9. C++ Program For Converting Temperature Celsius Into Fahrenheit
10. C++ Program To Display Size Of Different Datatype
11. C++ Program To Check Number Is Positive Or Negative
12. C++ Program To Find Character Is Vowel Or Not
13. C++ Program To Calculate Factorial Of A Given Number
14. C++ Program To Read Integer (N) And Print First Three Powers (N^1, N^2, N^3)
15. C++ Program To Swap Two Number Without Using Third Variable
16. C++ Program To Find The Address Of Variable
1. C++ Program To Check Character Is Uppercase, Lowercase Alphabet Or A Digit Or A Special Symbol
2. C++ Program To Find Greatest Among Three Numbers
3. C++ Program To Check Number Is Armstrong Or Not Using If/Else Statements
4. C++ Program To Find Character Is Vowel Or Not Using If/Else Statements
5. C++ Program To Check Number Is Even Or Odd Using If/Else Statements
6. C++ Program To Check Number Is Prime Or Not Using If/Else Statements
1. C++Program To Calculate Factorial Of A Given Number Using Loop
2. C++ Program To Print A Message Multiple Times Using Loop
3. C++ Program To Print A Table Of Given Number Using Loop
4. C++ Program To Print A Reverse Order Of Any Number Using Loop
5. C++ Program Print Truth Table Of XY+Z Using Loop
6. C++ Program Convert Decimal Number To Binary Number Using Loop
7. C++ Program To Print The Fibonacci Series Up to Given Number Of Terms
8. C++ Program to Sort Elements in Lexicographical Order (Dictionary Order) Using For Loop
9. C++ Program To Find The GCD And LCM Of Two Numbers
10. C++ Program To Find Whether A Number Is Palindrome Or Not
1. C++ Program For Temperature Conversion Celcius To Fahrenheit And Vice Versa Using Switch Case
2. C++ Program To Find A Grade Of Given Numbers Using Switch Case
3. C++ Program To Perform All Arithnatic Operations Ie:-(a+b,a-b,a*b,a/b,a%b) Using Switch Case
4. C++ To Program Calculate Area Of Circle Rectangle And Triangle Using Switch Case
5. C++ Program For Finding A Grade Using Switch Case
1. C++ Program To Print All Value Of An Array
2. C++ Program To Print Reverse Order And Print Sum Of Its Element Of An Array
3. C++ Program To Check Evenness / Oddness Of An Array
4. C++ Program To Check Positive / Negative Number Of An Array
5. C++ Program To Check Primeness Of An Array
6. C++ Program Sum Of Even-Positive, Even-Negative, Odd-Positive, Odd-Negative Of An Array
7. C++ Program To Check An Array Is Armstrong Or Not
8. C++ Program To Sort An Array Using BUBBLE SORT TECHNIQUE
9. C++ Program To Sort An Array Using SELECTION SORT TECHNIQUE
10. C++ Program To Merge Two Array Into Third Array Unconditionally
11. C++ Program To Merge One Accending And Another One Is Descending Array In Third Array Should be Descending Order
12. C Program To Find Row In An Array That Includes The Greatest Amount Of Even Number
13. C++ Program To Reverse An Array In O(n);
14. C++ Program To Find The Union And Intersection Of Two Sorted Array In Increasing Order.
15. C++ Program To Find Duplicate Element In Array Time Complexity O(n), Space Complexity O(1)
1. C++ Program To Convert A Lower Case To Upper Case
2. C++ Program To Print Reverse A Sentence
3. C++ Program To Print A Full String Input By Keyboard
4. C++ Program To Check String Is Palindrome Or Not
5. C++ Program To Find The Length Of Any String
6. C++ Program To Compare Two String
7. C++ Program To Copy One String To Another
8. C++ Program To Display Sring From Backward
9. C++ Program For Count A Words In Given String Even Enter No Of Space's Between String
1. C++ Program To Find Cube Of Any Number Using Functions
2. C++ Program To Perform All Arithmetic Operations Using Functions
3. C++ Program To Find GCD (Greatest Common Divisor ) Using Functions
4. C++ Program To Find Fibonacci Series Using Functions
5. C++ Program To Swap Two Numbers Using Functions
6. C++ Program To Swap Two Numbers Without Using Third Variable Using Functions
7. C++ Program to Calculate Standard Deviation Using Function
1. C++ Program To Find Number Is Even / Odd Using Pointer
2. C++ Program To Read Infinite Number Then Arrange Ascending Order Using Pointer
3. C++ Program To Average Of Array Function Of Using Pointer
4. C++ Program For Swapping Two Number In Function Using Pointer
5. C++ Program To Print Address Of Pointer Of An Array Using Pointer
1. C++ Program For Store Employee Information And Display Using Structure
2. C++ Program For Adding Two Distance Using Structure
3. C++ Program For Employee Information Using Nested Structure
4. C++ Program For Book Details Using Structure
2. C++ Program For Reading A No. From File And Sum Of No. Line By Line Using File
3. C++ Program For Count A Character In File Using File
4. C++ Program To Display The List Of Current Directory/Folder Using File
5. C++ Program For Copy One File To Another Using File Handling
6. C++ Program To Merge Two File Into the Third File Using File Handling
1. C++ Program To Find Sum Of Series 1 + 1 / 2 ^ 2 + 1 / 3 ^ 3 + . . . . . . . . . . . . 1 / n ^ n
2. C++ Program To Find Sum Of Series 1 + 2 + 3 + 4 + 5 + 6 . . . . . . . . . . . . . . . . n
3. C++ Program To Find Sum Of Series x + x ^ 2 / 2 + x ^ 3 / 3 + x ^ 4 / 4 + . . . . . . . . . x ^ n / n
4. C++ Program To Find Sum Of Series 1 / 2 + 4 / 5 + 7 / 8 + . . . . . . . . .n
5. C++ Program To Find Sum Of Series 1 + x ^ 1 + x ^ 2 + x ^ 3 + . . . . . . . . . x ^ n
6. C++ Program To Find Sum Of Series 1 ^ 2 + 3 ^ 2 + 5 ^ 2 + . . . . . . . . . . . n ^ 2
7. C++ Program To Find Sum Of Series 1 + 2 + 4 + 8 + 1 + 32 + . . . . . . . . n
8. C++ Program To The Print Given Series 1 -4 7 -10 . . . . . . . . . . . -40
9. C++ Program To Print A Given Pattern Or Series Like 12345, 5432, 234, 43, 3
1. C++ Program To Print A Pascal Triangle
2. C++ Program To Print A Given STAR Pattern
3. C++ Program To Print A Given Reverse STAR Pattern
4. C++ Program To Print Half Pyramid Using *
5. C++ Program To Print Reverse Half Pyramid Using *
6. C++ Program To Print Flip Pattern Of Half Pyramid Using *
7. C++ Program To Print Flip Pattern Of Reverse Half Pyramid Using *
8. C++ Program To Print Diamond Pattern Using *
9. C++ Program To Print Half Pyramid Using Number
10. C++ Program To Print Half Pyramid Using Similar Number In Row
11. C++ Program To Print Half Pyramid Using Alphabet
12. C++ Program To Print REVERSE Of Half Pyramid Using Alphabet
13. C++ Program To Print INDIA Pattern As Given Below
14. C++ Program To Print Half Pyramid Alternative Using ( * ) Star And Alphabet
15. C++ Program To Print Perfect Square Of Program Using Sleep And Delay Function
16. C++ Program To Print Heart Pattern Program Using Star
17. C++ Program For Draw A Perfect Christmas Tree
18. C++ Program To Print A Given Pattern Or Series Like 12345, 5432, 234, 43, 3
1.C++ Program For (FCFS) FIRST COME FIRST SERVE Scheduling Algorithm In Linux
2. C++ Program For PRIORITY Scheduling Algorithm In Linux
3. C++ Program For PRIORITY WITH PREEMPTIVE Scheduling Algorithm In Linux
4. C++ Program For ROUND ROBIN Scheduling Algorithm In Linux
5. C++ Program For (SJF) SHORTEST JOB FIRST Scheduling Algorithm In Linux
1. C++ program To bubble Sort Using Dynamic Array
2. C++ Program To Insertion Sort Using Dynamic Array
3. C++ Program To Heap Sort Using Dynamic Array
4. C++ Program To Quick Sort Using Dynamic Array
5. C++ Program Selection Sort Using Dynamic Array
6. C++ program For Radix Sort Using Dynamic Array
Check This:- Learn and Design Web pages and Website.
Note:- I compile all c programs in dev c++, if there is any case program is not working and showing error please let me know in comment section. If you are using adblocker, please disable adblocker because some functions of the site may not work correctly.
Extreme Recommended:- Like our Facebook Page or Join our Facebook Group and Google plus Community for up-to-date for a new post or if you have any query and suggestion, you can ask here (facebook group, facebook page, and google plus). Plese share our post on social media platforms and also suggest to your friends to join our groups and like our page, don't forget to subscribe. Enter your email and click to subscribe.
Table of Content
1. Simple Programs
2. If / Else Statement Programs
3. Loop Programs
4. Switch Case programs
5. Array Programs
6. String Programs
7. Function Programs
8. Pointer Programs
9. Structure Programs
10. Class Programs
11. File Handling Programs
12 Series Programs
13. Pattern Programs
14. Scheduling Algorithm Programs
15. Sorting Programs
16. Searching Programs
1. Simple Programs
1. C++ Program To Find Area And Circumference Of Circle
2. C++ Program To Print Ascii Value Of Character
3. C++ Program To Find Area Of Triangle
4. C++ Program to Convert a person's name in Abbreviated
5. C++ Program For Calculate A Simple Interest
6. C++ Program To Find Greater No. Among given Three Number
7. C++ Program To Find The Gross Salary Of An Employee
8. C++ Program For Calculate Percentage Of 5 Subjects
9. C++ Program For Converting Temperature Celsius Into Fahrenheit
10. C++ Program To Display Size Of Different Datatype
11. C++ Program To Check Number Is Positive Or Negative
12. C++ Program To Find Character Is Vowel Or Not
13. C++ Program To Calculate Factorial Of A Given Number
14. C++ Program To Read Integer (N) And Print First Three Powers (N^1, N^2, N^3)
15. C++ Program To Swap Two Number Without Using Third Variable
16. C++ Program To Find The Address Of Variable
2. If / Else Statement Programs
1. C++ Program To Check Character Is Uppercase, Lowercase Alphabet Or A Digit Or A Special Symbol
2. C++ Program To Find Greatest Among Three Numbers
3. C++ Program To Check Number Is Armstrong Or Not Using If/Else Statements
4. C++ Program To Find Character Is Vowel Or Not Using If/Else Statements
5. C++ Program To Check Number Is Even Or Odd Using If/Else Statements
6. C++ Program To Check Number Is Prime Or Not Using If/Else Statements
7. C++ Program To Check Character Is Uppercase, Lowercase Alphabet Or A Digit or A Special Symbol Using If/Else Statements
8. C++ Program To Find Quotient And Reminder Of Two Numbers Using If/Else Statements
9. C++ Program To Convert A Lowercase Alphabet To Uppercase Alphabet Or Vice-Versa Using If/Else Statements
10. C++ Program To Find Max Number Among Given Three Number Using If/Else Statements
11. C++ Program To Check Year Is Leap Year Or Not Using If/Else Statements
12. C++ Program To Find The HCF Or LCM Of Two Number Using If/Else Statements
13. C++ Program To Check Expression Parenthesis Is Valid Or Not Using If/Else Statements
14. C++Program To Check Age Between 40 To 60 Using If/Else Statements
15. C++ Program To Count Letters, Space, Digits, And Others Using If/Else Statements
16. C++Program To Check Date Validation (Valid Or Not) Using If/Else Statements
17. C++ Program To Determine Whether The Seller Made Profit or Loss. Also, Determine How Much Profit or Loss He Made
8. C++ Program To Find Quotient And Reminder Of Two Numbers Using If/Else Statements
9. C++ Program To Convert A Lowercase Alphabet To Uppercase Alphabet Or Vice-Versa Using If/Else Statements
10. C++ Program To Find Max Number Among Given Three Number Using If/Else Statements
11. C++ Program To Check Year Is Leap Year Or Not Using If/Else Statements
12. C++ Program To Find The HCF Or LCM Of Two Number Using If/Else Statements
13. C++ Program To Check Expression Parenthesis Is Valid Or Not Using If/Else Statements
14. C++Program To Check Age Between 40 To 60 Using If/Else Statements
15. C++ Program To Count Letters, Space, Digits, And Others Using If/Else Statements
16. C++Program To Check Date Validation (Valid Or Not) Using If/Else Statements
17. C++ Program To Determine Whether The Seller Made Profit or Loss. Also, Determine How Much Profit or Loss He Made
3. Loop Programs
1. C++Program To Calculate Factorial Of A Given Number Using Loop
2. C++ Program To Print A Message Multiple Times Using Loop
3. C++ Program To Print A Table Of Given Number Using Loop
4. C++ Program To Print A Reverse Order Of Any Number Using Loop
5. C++ Program Print Truth Table Of XY+Z Using Loop
6. C++ Program Convert Decimal Number To Binary Number Using Loop
7. C++ Program To Print The Fibonacci Series Up to Given Number Of Terms
8. C++ Program to Sort Elements in Lexicographical Order (Dictionary Order) Using For Loop
9. C++ Program To Find The GCD And LCM Of Two Numbers
10. C++ Program To Find Whether A Number Is Palindrome Or Not
4. Switch Case programs
1. C++ Program For Temperature Conversion Celcius To Fahrenheit And Vice Versa Using Switch Case
2. C++ Program To Find A Grade Of Given Numbers Using Switch Case
3. C++ Program To Perform All Arithnatic Operations Ie:-(a+b,a-b,a*b,a/b,a%b) Using Switch Case
4. C++ To Program Calculate Area Of Circle Rectangle And Triangle Using Switch Case
5. C++ Program For Finding A Grade Using Switch Case
5. Array Programs
1. C++ Program To Print All Value Of An Array
2. C++ Program To Print Reverse Order And Print Sum Of Its Element Of An Array
3. C++ Program To Check Evenness / Oddness Of An Array
4. C++ Program To Check Positive / Negative Number Of An Array
5. C++ Program To Check Primeness Of An Array
6. C++ Program Sum Of Even-Positive, Even-Negative, Odd-Positive, Odd-Negative Of An Array
7. C++ Program To Check An Array Is Armstrong Or Not
8. C++ Program To Sort An Array Using BUBBLE SORT TECHNIQUE
9. C++ Program To Sort An Array Using SELECTION SORT TECHNIQUE
10. C++ Program To Merge Two Array Into Third Array Unconditionally
11. C++ Program To Merge One Accending And Another One Is Descending Array In Third Array Should be Descending Order
12. C Program To Find Row In An Array That Includes The Greatest Amount Of Even Number
13. C++ Program To Reverse An Array In O(n);
14. C++ Program To Find The Union And Intersection Of Two Sorted Array In Increasing Order.
15. C++ Program To Find Duplicate Element In Array Time Complexity O(n), Space Complexity O(1)
6. String Programs
1. C++ Program To Convert A Lower Case To Upper Case
2. C++ Program To Print Reverse A Sentence
3. C++ Program To Print A Full String Input By Keyboard
4. C++ Program To Check String Is Palindrome Or Not
5. C++ Program To Find The Length Of Any String
6. C++ Program To Compare Two String
7. C++ Program To Copy One String To Another
8. C++ Program To Display Sring From Backward
9. C++ Program For Count A Words In Given String Even Enter No Of Space's Between String
7. Function Programs
1. C++ Program To Find Cube Of Any Number Using Functions
2. C++ Program To Perform All Arithmetic Operations Using Functions
3. C++ Program To Find GCD (Greatest Common Divisor ) Using Functions
4. C++ Program To Find Fibonacci Series Using Functions
5. C++ Program To Swap Two Numbers Using Functions
6. C++ Program To Swap Two Numbers Without Using Third Variable Using Functions
7. C++ Program to Calculate Standard Deviation Using Function
8. Pointer Programs
1. C++ Program To Find Number Is Even / Odd Using Pointer
2. C++ Program To Read Infinite Number Then Arrange Ascending Order Using Pointer
3. C++ Program To Average Of Array Function Of Using Pointer
4. C++ Program For Swapping Two Number In Function Using Pointer
5. C++ Program To Print Address Of Pointer Of An Array Using Pointer
9. Structure Programs
1. C++ Program For Store Employee Information And Display Using Structure
2. C++ Program For Adding Two Distance Using Structure
3. C++ Program For Employee Information Using Nested Structure
10. Class Programs
11. File Handling Programs
2. C++ Program For Reading A No. From File And Sum Of No. Line By Line Using File
3. C++ Program For Count A Character In File Using File
4. C++ Program To Display The List Of Current Directory/Folder Using File
5. C++ Program For Copy One File To Another Using File Handling
6. C++ Program To Merge Two File Into the Third File Using File Handling
12 Series Programs
1. C++ Program To Find Sum Of Series 1 + 1 / 2 ^ 2 + 1 / 3 ^ 3 + . . . . . . . . . . . . 1 / n ^ n
2. C++ Program To Find Sum Of Series 1 + 2 + 3 + 4 + 5 + 6 . . . . . . . . . . . . . . . . n
3. C++ Program To Find Sum Of Series x + x ^ 2 / 2 + x ^ 3 / 3 + x ^ 4 / 4 + . . . . . . . . . x ^ n / n
4. C++ Program To Find Sum Of Series 1 / 2 + 4 / 5 + 7 / 8 + . . . . . . . . .n
5. C++ Program To Find Sum Of Series 1 + x ^ 1 + x ^ 2 + x ^ 3 + . . . . . . . . . x ^ n
6. C++ Program To Find Sum Of Series 1 ^ 2 + 3 ^ 2 + 5 ^ 2 + . . . . . . . . . . . n ^ 2
7. C++ Program To Find Sum Of Series 1 + 2 + 4 + 8 + 1 + 32 + . . . . . . . . n
8. C++ Program To The Print Given Series 1 -4 7 -10 . . . . . . . . . . . -40
9. C++ Program To Print A Given Pattern Or Series Like 12345, 5432, 234, 43, 3
13. Pattern Programs
1. C++ Program To Print A Pascal Triangle
2. C++ Program To Print A Given STAR Pattern
3. C++ Program To Print A Given Reverse STAR Pattern
4. C++ Program To Print Half Pyramid Using *
5. C++ Program To Print Reverse Half Pyramid Using *
6. C++ Program To Print Flip Pattern Of Half Pyramid Using *
7. C++ Program To Print Flip Pattern Of Reverse Half Pyramid Using *
8. C++ Program To Print Diamond Pattern Using *
9. C++ Program To Print Half Pyramid Using Number
10. C++ Program To Print Half Pyramid Using Similar Number In Row
11. C++ Program To Print Half Pyramid Using Alphabet
12. C++ Program To Print REVERSE Of Half Pyramid Using Alphabet
13. C++ Program To Print INDIA Pattern As Given Below
14. C++ Program To Print Half Pyramid Alternative Using ( * ) Star And Alphabet
15. C++ Program To Print Perfect Square Of Program Using Sleep And Delay Function
16. C++ Program To Print Heart Pattern Program Using Star
17. C++ Program For Draw A Perfect Christmas Tree
18. C++ Program To Print A Given Pattern Or Series Like 12345, 5432, 234, 43, 3
14. Scheduling Algorithm Programs
1.C++ Program For (FCFS) FIRST COME FIRST SERVE Scheduling Algorithm In Linux
2. C++ Program For PRIORITY Scheduling Algorithm In Linux
3. C++ Program For PRIORITY WITH PREEMPTIVE Scheduling Algorithm In Linux
4. C++ Program For ROUND ROBIN Scheduling Algorithm In Linux
5. C++ Program For (SJF) SHORTEST JOB FIRST Scheduling Algorithm In Linux
15. Sorting Programs
1. C++ program To bubble Sort Using Dynamic Array
2. C++ Program To Insertion Sort Using Dynamic Array
3. C++ Program To Heap Sort Using Dynamic Array
4. C++ Program To Quick Sort Using Dynamic Array
5. C++ Program Selection Sort Using Dynamic Array
6. C++ program For Radix Sort Using Dynamic Array
0 Comments: