gcd of two numbers in C Problem Statement: Given two numbers, Find the gcd of two given numbers. Examples: Example

Continue reading# Category: C programs

## Square in C : Calculate square of a number

Problem Statement: Given a number N, calculate the square of the number N. Square in C. Examples: Example 1: Input:

Continue reading## Armstrong number in C

Problem Statement: Given a number N, check if the number is Armstrong’s number or not. Examples: Example 1: Input: N

Continue reading## Prime Number Program in C

Problem Statement: Given a number N, Check if the number is Prime or not. Examples: Example 1: Input: N =

Continue reading## Factorial program in C

Problem Statement: Given a number N, find the factorial of the number. Factorial program in C. Examples: Example 1: Input:

Continue reading## Swapping of two numbers in C

Program for: “Swapping of two numbers in C” Problem Statement: Given two numbers a and b swap the two numbers

Continue reading## Leap year program in C

Problem Statement: Check if the given year is a leap year or not. Leap year program in C. Examples: Example 1:

Continue reading## pow function in C : power of a number

Problem Statement: Find the Power of a number using the POW function. Examples: Example 1: Input: N = 5, k

Continue reading## Palindrome program in C

Problem Statement: Given a number N, write a C program to check if the number is Palindrome or Not. Examples:

Continue reading## Fibonacci series in C

Problem Statement: Print Fibonacci Series in C Given a number N, write a c program to print the fibonacci series

Continue reading