# Courses

### Program to find the HCF (Highest Common Factor) of two numbers.

Here, we have a basic program example to find HCF of two numbers using different languages. HCF or Highest Common Factor is the greatest number which divides each of the two or more numbers. This program is created in c language, c++, Java, and Python. Code to calculate HCF in C language Code to calculate HCF in…

### Program to print the number in reverse order.

Here, we have a basic program example to print number in reverse order using different languages. This program is created in c language, c++, Java, and Python. Code to reverse the number in C language Code to reverse the number in C++ language Code to reverse the number in Python language Code to reverse the…

### Program to display the sum of n terms of even natural numbers.

Here, we have a basic program example to print the sum of even natural numbers using different languages. This program is created in c language, c++, Java, and Python. Code to print the sum of even natural numbers is C language Code to print the sum of even natural numbers is C++ language Code to…

### Program to calculate the factorial of a given number.

Here, we have a basic program example to calculate the factorial of a number using different languages. The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. This program is created in c language, c++, Java, and Python. Code to calculate factorial…

### Program to make a pyramid with an asterisk.

Here, we have a basic program example to display an equilateral triangle or pyramid using different languages. This program is created in c language, c++, Java, and Python. Code to display a pyramid using C language Code to display a pyramid using C++ language Code to display a pyramid using Python language Code to display…

### Program to display a right angled triangle with the number increased by 1. The pattern is as follows :

1 2 3 4 5 6 7 8 9 10 10 11 12 13 14 Here, we have a basic program example to print a right angled triangle where numbers are increased by 1 using different languages. This program is created in c language, c++, Java, and Python. Code to print right angled triangle in…