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

C Program to check the letter is vowel or consonant Problem:  Write a C program to check the letter is vowel or consonant. Solution: C code to check vowel or consonant using if-else #include <stdio.h> int main(){ char ch; printf(“Input a charactern”); scanf(“%c”, &ch); if ((ch >= ‘a’ && ch <= ‘z’) || (ch >= ‘A’ &&ch […]

## 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 insertion sort go to Wiki and find that- Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at […]

## C Program to Print Pascal’s triangle

C Program to Print Pascal’s triangle From 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 other mathematicians studied it centuries before him in India,[1] Persia(Iran), China, Germany, and Italy.[2] Wiki Link – https://en.wikipedia.org/wiki/Pascal%27s_triangle See also how a pascal’s triangle is created in  a gif […]

## 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 consecutive numbers, starting with a 1 in the top left corner: 1 2 3 4 5 6 7 8 9 10 11 12 […]

## C Program to print Pyramid by star or numbers

C Program to print Pyramid by star or numbers First Star printing Problem in C: Problem 1: Write the the following star program to print the stars in C language: *************** Problem analysis: First take a variable of rows number to print how many number of rows. Make a for loop upto that the row […]

## Starting my first programming by C program

Introduction: C is a general-purpose programming language developed at AT & T’s Bell Telephone Laboratories (USA) in 1972 by Dennis Ritchie.Since it was mainly designed first for the UNIX operating system, but now, it is used now in UNIX operating system and in other worlds. Why I’ve to learn C Programming: C is nowadays most […]

## UVA Solution 438 – The Circumference of the Circle – Solution in C, C++

UVA Solution 438 – The Circumference of the Circle – Volume 4 UVA Online Judge Solution  438 – The Circumference of the Circle| Volume 4UVA Problem Link – https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=379 Problem Name:  438 – The Circumference of the CircleProblem Number : UVA –  438 – The Circumference of the CircleOnline Judge : UVA Online Judge SolutionVolume: […]