# Category Archives: Basic Programs

## Write a C++ Program for Pascal Triangle

Write a C++ Program for Pascal Triangle   Pascal’s triangle is a triangular array of binomial coefficients.

## Write a C++ Program to find average of numbers

Write a C++ Program to find average of numbers

Output : :

## Write a C++ Program to Find Power of any Number

Write a C++ Program to Find Power of any Number

Output : :

## Write a C++ program to find sum of digits of a number

Write a C++ program to find sum of digits of a number   Sum of digits means add all the digits of any number, for example we take any number like 358. Its sum of all digit is 3+5+8=16. Using given code we can easily write c++ program.

Output : :  … Read More »

## Write a C++ Program to find Cube Root of Number

Write a C++ Program to find Cube Root of Number

Output : :

## Write a C++ program to find Square Root of a Number

Write a C++ program to find Square Root of a Number

Output : :

## Write a C++ program to find LCM of two numbers

Write a C++ program to find LCM of two numbers

Output : :

## Write a C++ Program to Find HCF of two numbers

Write a C++ Program to Find HCF of two numbers

Output : :

## Write a C++ program to Check Number is Palindrome or not

Write a C++ program to Check Number is Palindrome or not   A Palindrome number is a number that remains the same when its digits are reversed. For example: we take 121 and reverse it, after reverse it is same as original.

Output : :