Browsing tag

Cpp language

Calculate average of odd and even numbers in C++

Calculate average of odd and even numbers in C++ In this tutorial, we will discuss a concept of the  C++ code to calculate the average of odd and even numbers. In this article, we are going to learn  how to  calculate the Average of odd and even numbers  in the C++ programming language What is…

C++ program to check odd or even using recursion

C++ program to check odd or even using recursion In this tutorial, we will discuss a concept of the  C++ program to check odd or even  in given number using recursion In this article, we are going to learn  how to  check of odd and even numbers using recursion in the C++ programming language What…

C++ code to Calculate average of odd and even in an array

C++ code to Calculate average of odd and even in an array In this tutorial, we will discuss a concept of the  C++ code to calculate the average of odd and even numbers in an array. In this article, we are going to learn  how to  calculate the Average of odd and even numbers of…

Calculate power of a number using recursion in C++

 Calculate power of a number using recursion in C++ In this article, we will discuss the concept of Calculate power of a number  using recursion in C++ programming language In this post, we will learn how to  find the power of a number using a recursive function in C language Program 1 #include <iostream> #include…

Recursion in Cpp programming language

Recursion in Cpp programming language In this tutorial, we will discuss recursion in Cpp programming language A function calling itself is called a recursive function. another word, a function calling from the definition of the same function is known the recursive function and this procedure is known as recursion Example of recursion function How recursion…

C++ program to find middle of three number using function

C++ program to find middle of three number using function In this tutorial, we will discuss the concept of C++ program to find middle among three numbers using function This post describes how to find the middle number among three numbers using if statements in C++ language. There are many ways to find the middle…

Program to Double pyramid star pattern in C++

Program to Double pyramid star pattern in C++ In this tutorial, we will discuss a simple concept of the Program to Double pyramid star pattern in C++ In this post, we will learn how to create double (integrated) pyramid star pattern in C++ language. We can use for loop, while loop or do while loop…

C program to generate Double pyramid number pattern

C program to generate Double pyramid number pattern In this tutorial, we will discuss a simple concept of the C program to generate Double pyramid number pattern In this post, we will learn how to create double(Integrated) pyramid number pattern. We can use for loop, while loop or do while loop to display different integrated pyramid…