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 complex number (a+bi) : 2+3i … Read 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

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 user wants in … Read 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++ … Read 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 ( ), … Read more

C++ Program to Calculate Difference Between Two Time Period

In this tutorial, we will write a C++ program to find the difference between two time periods. Before that, you may go through the following topic in C++. if statement in C++ C++ structures We will look at two different programs: Using if statement Using Structure C++ Program to Calculate Difference Between Two Time Periods … Read more

C++ Program to store information of a student in a Structure

In this tutorial, we will write a program to store information of a student in a Structure in C++. You may go through the following topics first. C++ Structures C++ program using structure. Output: Enter your Detail:Name: PushpaRoll Number: 1101Marks: 80Grade: A Displaying Information,Name: PushpaRoll: 1101Marks: 80Grade: A