Browsing tag

Cpp language

triangle number pattern Using nested while in Cpp

triangle number pattern Using nested while in Cpp In this tutorial, we will learn about the triangle Number pattern using nested while in Cpp language. We can use nested while loop in C++ to write coding for Squares, rectangles, Floyed triangle, Pyramid triangles and many other shapes. In this tutorial, we will learn about some…

Program to find largest number among three numbers in Cpp

Program to find the largest number among three numbers in the Cpp In this program, we will discuss a simple concept of program to find the largest number among three numbers in the Cpp programming language. In this topic, we learn how to find the biggest number from given three numbers. we can use the…

Cpp Program to calculate average of array

Cpp Program to calculate average of an array In this tutorial, we will discuss a simple concept of Cpp Program to calculate average of an array In this topic, we will learn about how to calculate the average of n number of elements (integer or floating point)using the array in C++ programming language. Average calculates…

Cpp program to calculate sum of array elements

Cpp program to calculate the sum of array elements In this tutorial, we will discuss the Cpp program to calculate the sum of array elements. In this topic, we will learn how to calculate the total value of array elements.   Program 1 This program calculates the total value of numbers stored in an array…

Inverted Pyramid number pattern in Cpp language

Inverted Pyramid number pattern in Cpp language In this tutorial, we will discuss the Inverted Pyramid number pattern in Cpp language In this topic, we will learn about how to create an Inverted Pyramid number pattern in C++ using for loop or nested for loop Inverted Pyramid number pattern in Cpp language Pattern 1 Inverted…

Cpp program to pyramid number pattern

Cpp program to pyramid number pattern In this tutorial, we will discuss the Cpp program to pyramid number pattern In this topic, we will learn how to create number pattern in C++ language using for loop and while loop pyramid number pattern programs in C++language Pattern 1 Pyramid triangle number pattern program 1 #include <iostream>…

CPP program to multiply two numbers

CPP program to multiply two numbers In this tutorial, we will discuss the CPP program to multiply two numbers. In this topic, we will learn how to multiply two integer number in the C++ programming language   Multiply two integers Program 1 #include <iostream> #include <conio.h> using namespace std; int main() { cout << “Multiply…

Cpp program to sum two numbers

Cpp program to sum two numbers In this tutorial, we will discuss the topic of Cpp program to sum two numbers In this topic, we will learn how to add two numbers in C++ programming language Find Sum to numbers  Example- 1 Program 1 #include <iostream> #include <conio.h> using namespace std; int main() { int…

Type of user defined function in Cpp language

Type of user defined function in C++ language In this tutorial, we will discuss Type of user defined function in C++ language Already, we would learn about Type of user-defined function in C language. Now we get to know Type of user-defined function in C++ language. The user defines functions are categorized are: Function with no…

Cpp program to display Pyramid star pattern

Cpp program to display Pyramid star pattern In this tutorial, we will discuss about Cpp program to display Pyramid star pattern In this topic, we will learn how to create Pyramid star pyramid pattern in C++ language using nested for loop   Star Pyramid pattern 1 Program 1 Pyramid pattern #include <iostream> #include <conio.h> using…