19 Articles

# C++ program to print prime numbers [New]

In this program, we will make a c++ program to print prime numbers upto n. Prime numbers…

# C++ Program for Cricket Match [New]

In this post, we will make a c++ program for a cricket match. You can also download…

# Menu-Driven Program for Array Operations in C++ [New]

In this program, we are going to make a menu-driven program in c++ that will perform some…

# How to Reverse an Array in C++ using Functions

In this post, we will make a program to reverse an array in c++ using Functions which…

# C++ Program for Addition of Two Matrices using 2d Array

In this program, we are going to make a C++ program for the addition of two matrices….

# C/C++ program to check Armstrong number

In this example, we are going to make a C program to check Armstrong’s number. For this,…

# W Pattern in C++ by Siddharth Jha

W Pattern in C++ by Siddharth Jha #include<stdio.h>#include<conio.h>void main(){clrscr();int i,j;char ch=‘A’;for(i=1;i<=7;i++){for(j=1;j<=13;j++){if(i>=2){if((j>=7-(i-2))&&(j<=7+(i-2))){cout<<“ ”;}else{if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;ch=ch-(j-7);cout<<ch;}}}else{if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;ch=ch-(j-7);cout<<ch;}}}ch=‘A’;cout<<“n”;}getch();} If You like this Program…

# Print star pattern in C++

Program to print star patterns in c++ language. In this program, we are going to print the…

# Factorial Program in C++

Factorial program in c++ In this C++ program, we are going to determine the factorial of a…