c programming examples with output

C Program for Multiplication table

C Program for Multiplication table | In mathematics, a multiplication table is a mathematical table used to define a multiplication operation for an algebraic system. Here we will develop different C program for Multiplication table using for loop, using while loop, using do-while loop, from 1 to 10 and from 1 to N. Multiplication table

C Program for Multiplication table Read More »

Factorial Program in C

In mathematics, the factorial of a positive integer n, denoted by n! It is the product of all positive integers less than or equal to n. For example:- The factorial of 4= 4! = 4*3*2*1 or 1*2*3*4 = 24 Here we will write the Factorial program in C programming language. Factorial (n) = 1 *

Factorial Program in C Read More »

GCD and LCM Program in C

LCM and HCF program in C | GCD and LCM program in C | HCF and LCM program in C The highest common factor (HCF) of two or more numbers is the greatest number that divides each of them exactly. Greatest Common Measure(GCM) and Greatest Common Divisor(GCD) are the other terms used to refer to

GCD and LCM Program in C Read More »