Category

CPlusPlus Programs

<img class="alignnone size-full wp-image-5975" src="https://simple2code.com/wp-content/uploads/2021/05/CplusplusIcon.png" alt="c++ logo" width="240" height="240" />

75 posts

C++ Program to Multiply two Complex Numbers

In this tutorial, we will write a C++ program to perform a multiplication on two complex numbers. Before that, you may go through the following topic in java. C++ function C++ struct C++ Program to Multiply two Complex Numbers using Struct Output: Enter first complex number (a+bi) : 2+3iEnter second

July 13, 2022Read more →

Mystery Number in C++

In this tutorial, we will write a C++ program to check if a number is a Mystery Number. Before that, we may go through the following topic in C++. methods in C++ A mystery number is a number that can be expressed as the sum of two numbers and those two numbers should be the … Read more

July 4, 2022Read more →

C++ Program to display Pascal Triangle

In this tutorial, we will write a C++ program to display pascal’s triangle. Before that, you may go through the following topic in C++. for loop in C++ C++ Program to display Pascal Triangle C++ program to print pascal’s triangle: The program takes the user input for the number of rows the use

May 1, 2022Read more →

C++ Program to find the Transpose of a Matrix

In this tutorial, we will learn and write a program to find the transpose of matric in C++. Before that, you may go through the following topics in C++ programming: C++ Arrays C++ loops The program takes the user input for the number of rows and columns and then the elements for the matrix. C++ &#82

April 28, 2022Read more →

How to Split a String in C++

Let us learn how to split string in C++ programming language. We will look at a few ways to split a string. The splitting of string refers to the grouping of sentences into their individual single word. And splitting is possible only when there is a presence of some delimiters like white space ( ),

April 23, 2022Read more →