Browsing tag

Cpp language

Cpp program to check a number is even or odd using function

Cpp program to check a number is even or odd using function In this tutorial, we will discuss the Cpp program  to check a number is even or odd using function In this program, we are going to learn about how to find the odd or even number from given number using function in Cpp…

Cpp program to check whether a number is even or odd

Cpp program to check whether a number is even or odd In this tutorial, we will discuss the Cpp program to check whether a number is even or odd In this program, we are going to learn about how to find  odd or even number from given number using if else statements in C++ programming language…

Cpp program to Addition Subtraction,Multiplication and division

Cpp program to Addition Subtraction, Multiplication and division In this tutorial, we will discuss Cpp program to Addition Subtraction, Multiplication and division   In this post, we will learn how to perform addition, subtraction multiplication, division of any two numbers  using if else statements in Cpp programming The  program will request the user to enter…

Switch case statement in Cpp language

Switch case statement in Cpp language In this tutorial, we will discuss the Switch case statement in Cpp language Switch statements in C++ select one option from multiple options of cases based on a switch expression. The switch case statement is similar to if else if … else ladder. but it is not as same as…

Hollow Pyramid Pattern in Cpp using nested while loop

Hollow Pyramid Pattern in Cpp using nested while loop In this tutorial, we will discuss Hollow Pyramid Pattern in Cpp using nested while loop In this program, we are going to learn about how to display  Hollow Pyramid Pattern using nested while loop in C++ language Here, we display the Hollow Pyramid Pattern program with…

Triangle Hollow Pattern using nested while loop in Cpp

 Triangle Hollow Pattern using nested while loop in Cpp In this tutorial, we will discuss Triangle Hollow Pattern using nested while loop in Cpp In this program, we are going to learn about how to display  Hollow Tringle star pattern using nested while loop in C++ programming  language Here, we display an Hollow triangle Pattern…

Cpp program to find factorial using function

CPP program to find factorial using Function In this tutorial, we will discuss Cpp program to find factorial using Function There are many ways to calculate a factorial using C++ programming language. In this tutorial, we are going to learn about how to calculate factorial of a given number using the C++ function   Factorial…

Cpp program to generate Alphabet pyramid

Cpp program to generate Alphabet pyramid using the while loop In this tutorial, we will discuss Cpp program to generate Alphabet pyramid using the while loop Alphabet Pyramid pattern in C++ using while loop In this Article, we are going to learn about how to display  Alphabet pyramid pattern  using while loop  in C++ programming…

Cpp programming variables and types

Cpp programming variables and types In this tutorial, we will discuss Cpp programming variables and types Variable is a very fundamental concept of all programming language for programmers. purpose of the variable in programming which is used to allocate memory(space) in memory location before we start to write programming. Type of variables in C++ [wp_table…