Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Python Programs
    • Java Programs

C++ Programs

The following are the list of C++ or CPP program examples covering the concepts like simple c++ programs, number programs, functions, recursions, etc.

Simple C++ Programs

  1. Hello World
  2. Add Two Numbers
  3. Calculate Simple Interest
  4. Check Number is Divisible by 5 And 11
  5. Count Total Notes in an Amount
  6. Largest of Two Numbers
  7. Largest of Three Numbers
  8. Last Digit of a Number
  9. LCM of Two Numbers
  10. Leap Year
  11. Multiplication Table
  12. Palindrome Number
  13. Perfect Number
  14. Product of Digits in a Number
  15. Profit or Loss
  16. Prime Factors of a Number
  17. Print 1 to 100
  18. Print Alphabets between A and Z
  19. Print alphabets from a to z
  20. Print Even Numbers
  21. Print N Natural Numbers
  22. Print Natural Numbers in Reverse
  23. Print Odd Numbers
  24. Reverse a Number
  25. Square Root of a Number
  26. Square of a Number
  27. Standard Deviation
  28. Strong Number
  29. Student Grade
  30. Student Marks
  31. Sum of Digits in a Number
  32. Sum of Even Numbers
  33. Sum of Even and Odd Numbers
  34. Sum of First and Last Digit of a Number
  35. Sum of Natural Numbers from 1 to N
  36. Sum of Odd Numbers
  37. Sum of Series 1²+2²+3²+n²
  38. Sum of Series 1³+2³+3³+n³
  39. Swap Two Numbers
  40. Swap First and Last Digit in a Number

Character Programs

  1. Print ASCII Values of all Characters
  2. Sum of ASCII values in a Character Array

C++ String Programs

  1. Convert String to Lowercase
  2. Convert String to Uppercase
  3. Maximum Occurring Character in a String
  4. String Length
  5. Sum of ASCII values in a String
  6. Toggle Character Cases in a String

Array and Matrix Programs

  1. Add Two Arrays
  2. Add Two Matrixes
  3. Arithmetic Operations on Array
  4. Arithmetic Operations on Matrix
  5. Check two Matrixes are Equal
  6. Determinant of a Matrix
  7. Identity Matrix
  8. Interchange Matrix Diagonals
  9. Lower Triangle of a Matrix
  10. Multiply Two Arrays
  11. Multiply two Matrixes
  12. Scalar Matrix Multiplication
  13. Sparse Matrix
  14. Subtract two Matrixes
  15. Sum of Opposite Diagonal of a Matrix
  16. Sum of Matrix Diagonal
  17. Sum of Matrix Row and Column
  18. Symmetric Matrix
  19. Transpose a Matrix
  20. Upper Triangle of a Matrix

Conversion Programs

  1. Convert Days to years and Weeks
  2. Convert Kilometer to Meters, Centimeters, and Millimeters

Volume and Surface Area Programs

  1. Volume and Surface Area of a Cone
  2. Volume and Surface Area of a Cube
  3. Volume and Surface Area of a Cuboid
  4. Volume and Surface Area of a Cylinder
  5. Volume and Surface Area of a Sphere

C++ Shapes and Display Pattern Programs

  1. Check Triangle is Equilateral Isosceles or Scalene
  2. Check Triangle is Valid using Angles
  3. Check Triangle is Valid using Sides
  4. Hollow Box Number Pattern
  5. Inverted Star Pyramid
  6. Pascal Triangle
  7. Perimeter of a Rectangle
  8. Print 1 and 0 Column Pattern
  9. Print 1 and 0 Row Pattern
  10. Rectangle Star Pattern
  11. Square Number Pattern
  12. Square Star Pattern

  • SQL DML, DDL, DCL & TCL Cmds
  • SQL NOT EXISTS Operator
  • SQL UPDATE from SELECT
  • SQL AFTER UPDATE Triggers
  • SQL Get Column Names in Table
  • SQL IF ELSE
  • SQL ACID Properties
  • SQL FOR XML PATH
  • Java Two Dimensional Array
  • Java Perfect Number Program
  • Java Count Digits in a Number
  • C Compare Two Strings Program
  • C Print Prime Numbers 1 to 100
  • C program to Reverse a String
  • C Palindrome Number Program
  • C Program for Palindrome String
  • C Remove Duplicate String Chars
  • C Square of a Number Program
  • C Sum and Average of N Number
  • Python Fibonacci Series program
  • Python Area Of Circle Program
  • Python Prime Numbers 1 to 100
  • Python Program for Leap Year
  • Tableau Rank Calculation
  • Tableau Google Maps usage
  • Power BI Format Dates
  • Power BI Top 10 Filters
  • Power BI – Create Hierarchy
  • Power BI DAX Math Functions
  • Learn SSIS in 28 Days
  • SSIS Transformations
  • SSIS Incremental Load
  • SSRS Drill Through Reports
  • SSRS Drill Down Reports
  • R Programming Tutorial
  • C Tutorial
  • C# Tutorial
  • Java Tutorial
  • JavaScript Tutorial
  • Python Tutorial
  • MySQL Tutorial
  • SQL Server Tutorial
  • R Tutorial
  • Power BI Tutorial
  • Tableau Tutorial
  • SSIS Tutorial
  • SSRS Tutorial
  • Informatica Tutorial
  • Talend Tutorial
  • C Programs
  • C++ Programs
  • Java Programs
  • Python Programs
  • MDX Tutorial
  • SSAS Tutorial
  • QlikView Tutorial

Copyright © 2021 | Tutorial Gateway· All Rights Reserved by Suresh

Home | About Us | Contact Us | Privacy Policy