Posts from C++

Check whether a matrix is Markov matrix in C++

By Alok Singh

In this tutorial, we will learn how to check whether a matrix is a Markov matrix or not in C++ with Example, Algorithm, and a program. Markov matrix is a matrix in which the sum of.... Read More

Replace each element of array by multiplication of previous and next in C++

By Alok Singh

From the title of the problem, it is clear that for a given array, we have to Replace each element by multiplication of previous and next element. Means for each index number i, .... Read More

Break and Continue in C++

By Animisha Dalal

In this tutorial, we will learn about break and continue in C++. Break and continue in C++ While writing some programs, there arise certain conditions where we would like to pass t.... Read More

How to print Identity matrix of given size in C++

By Alok Singh

In this tutorial, we will learn how to print an identity matrix of nth size in C++ with an example, algorithm, and a program. An identity matrix is a square matrix with all the pri.... Read More

Find normal and Trace of a matrix in C++

By Alok Singh

Hello, in this tutorial, we will learn how to find normal and the trace of a matrix with a solved example, algorithm, and C++ program. Normal of a matrix is the square root of the .... Read More

Find Mean, Median and Mode of an Ungrouped data

By Alok Singh

This tutorial is for learning how to find mean, median and mode of an ungrouped data in C++. Mean, median and mode also called as measures of central tendency are numbers which rep.... Read More

How to find GCD of two numbers in C++

By Alok Singh

Hello, in this tutorial, we will understand how to find GCD of two numbers in C++ in various ways. Greatest Common Divisor (GCD) or Highest Common Factor (HCF) of two number a and .... Read More

C++ program to create a stopwatch

By Ranjeet V

In this C++ tutorial, we are going to learn how to create a stopwatch in C++. The stopwatch starts when we press any key on the keyboard and does not stop until any key is pressed..... Read More

Related Posts