#### C program to make prime numbers or check prime numbers

C program to make prime numbers or check prime numbersProblem 1:Write a  C program to check if the number is prime or not.Solution:logic for being a prime number:C Code for…

#### C Program to find the palindrome of given number

C Program to find the palindrome of given numberProblem:Write a C program to find the palindrome of a given number.Solution:Logic for palindrome number:Take the number and put it in a…

#### C Program to find the factorial of a given number

C Program to find the factorial of a given numberProblem:Write a C program that will get the factorial of the given number.Solution:Logic to make a factorial number:That means, take a…

#### C program to reverse a given number

C program to reverse a given numberProblem:Write a C program to reverse a given number.Logic for getting reverse number in C:Suppose, we've given a number 123456, then we'll get the reverse…

#### C Program to check the number is a leap year or not?

C Program to check the number is a leap year or not?Problem: Write a C program to check if the number is a leap year or not.Solution:Logic for a number is…

#### C Program to check the letter is vowel or consonant

C Program to check the letter is vowel or consonantProblem:  Write a C program to check the letter is vowel or consonant. Solution:C code to check vowel or consonant using if-else #include…

#### Insertion sort in an array – C code implementation

C Program insertion sort in an array Problem:Write a C program of insertion sort which sorts a list of elements using insertion sort algorithm.What is insertion sort:To know some basic about…

#### C Program to Print Pascal’s triangle

C Program to Print Pascal's triangleFrom Wikipedia about Pascal's triangle is :Pascal's triangle is a triangular array of the binomial coefficients. In much of the Western world, it is named after French mathematician Blaise Pascal, although…

#### C Program to Print Floyd’s Triangle

What is Floyd's triangle?From Wikipedia,Floyd's triangle is a right-angled triangular array of natural numbers, used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with…

#### C Program to print Pyramid by star or numbers

C Program to print Pyramid by star or numbersFirst Star printing Problem in C:Problem 1: Write the the following star program to print the stars in C language:***************Problem analysis:First take…