gcd of two numbers in C Problem Statement: Given two numbers, Find the gcd of two given numbers. Examples: Example
Continue readingCategory: 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 readingArmstrong 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 readingPrime Number Program in C
Problem Statement: Given a number N, Check if the number is Prime or not. Examples: Example 1: Input: N =
Continue readingFactorial program in C
Problem Statement: Given a number N, find the factorial of the number. Factorial program in C. Examples: Example 1: Input:
Continue readingSwapping 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 readingLeap 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 readingpow 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 readingPalindrome program in C
Problem Statement: Given a number N, write a C program to check if the number is Palindrome or Not. Examples:
Continue readingFibonacci 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