## gcd of two numbers in C

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

## 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:

## 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

## Prime Number Program in C

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

## Factorial program in C

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

## 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

## 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:

## 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