All Compiler is the great source for the programming lovers. Following is the various programs that you can view over here. For any suggestions or any query please write in the comment area.We will try to satisfy you. Learn and enjoy happy coding :)
General Programs
Control Statements
Loop Structure
A Program To Print The Pattern
*
* *
* * *
* * * *
* * * * *
A Program To Print The Pattern
* * * * * *
* * * * *
* * * *
* * *
* *
*
A Program To Print The Triangle With Stars
*
* * *
* * * * *
* * * * * * *
A Program To Print The Diagonal With Stars
*
* * *
* * * * *
* * *
*
A Program To Print The Latin Square
1 2 3 4
2 3 4 1
3 4 1 2
4 1 2 3
A Program To Print The Following Output
A
A B
A B C
A B C D
A B C D E
A Program To Print The Pascal's Triangle As Follows
1
1 1
1 2 1
1 3 3 1
A Program To Print The Following Output
1 2 3 4 3 2 1
1 2 3 3 2 1
1 2 2 1
1 1
General Programs
- A C program to accept a character from keyboard and determine if it is vowel or not.
- A C program to convert temperature given in Fahrenheit degree into centigrade degree.
- A C program to exchange value of two variables.
- A C program to exchange the value of two variables without using third variable.
- A C program to find the compound interest where principle amount , rate of interest and time entered from keyboard.
- A C program to calculate the sum of first and last digit of a number.
- A program to calculate the perimeter of a rectangle and area and circumference of of the circle.
- A program to print the table of 5.
- A program to print the table of 2 , 3 and 4.
- A program to convert the lowercase letters into uppercase letters.
- A program to find the greater between two numbers using conditional operator.
- Program to Find Area of a Triangle Using Hero Formula in C
- Program To Print Local Date And Time in C Programming Examples
- C Program to Convert Digits to Words
- A C Program of BISECTION METHOD
- C Program To Find The Prime Number
Control Statements
- A program to check whether the entered number is negative of not.
- A program to calculate tax @ 20% if the salary of the person is greater than 10000.
- A program to compare two numbers and print the bigger one.
- A program to find whether entered number is even or odd.
- A program to print the biggest of three given numbers.
- A program to print the biggest of three numbers using logical operators.
- A program to determine whether the entered year is leap or not.
- A program to determine whether the entered year is leap or not using logical operator.
- A program to print the days of week using if else if ladder.
- A program to print the days of week using switch case default.
- A program to determine in which quadrant an angle lies.
- A program to find the roots of the quadratic equation.
- A program to determine whether the entered year is leap or not using conditional operator.
- A program to check if the entered number is uppercase alphabet.
- A program to find the real roots of a quadratic equation.
- A program to print whether entered character is lowercase alphabet or not.
- A program to calculate the percentage of marks of a student in five different subjects.Also print whether he got first division or not.
- A program to find whether the character entered is capital letter, a small case letter, a digit or a special symbol.
- A menu driven program that calculates the (1) Biggest of two numbers (2) Positive or negative (3) Factorial of a number (4) Exit .
Loop Structure
- A C program to display the consecutive digits from 0 to n.
- A C program to compute ab.
- A C program to find the factorial of a number.
- A program to find the sum of digits of a positive integer number.
- A program to find the reverse of an integer.
- A program to find the 10 multiples of an integer n.
- A program to calculate the average of n numbers.
- A program to find and print the n terms of Fibonacci series.
- A program to calculate the factorial of a given number using the do-while loop.
- A program to calculate the sum of first n numbers using the do-while loop.
- A program to demonstrate the break statement.
- A program to compute the sum of positive integers out of n given numbers.
- A program to demonstrate the goto statement.
- A program to print multiplication table in tabular form.
- A program to calculate average for several different lists of numbers.
- A program to add the n terms of the series. ( 1/1! + 2/2! + 3/3!+...... n/n! ).
- A program to enter a number and print the same till you enter y.
- A program to generate the Latin square.
- A program to print the ASCII values and their equivalent characters.
- A program to print whether the entered number is palindrome or not.
- A program to find whether the number is Armstrong or not.
- A program to find HCF.
- A program to find and print the sum of an infinite series: ( 5 + 10 + 15 + ... + n )
- A program to calculate the sum of an infinite series: ( x - x3/3!+x5/5!-x7/7!+...).
- A program to find the biggest among n numbers.
- A program to find that the entered number is even or odd.
- A program to print all combination of 1, 2 and 3.
- A program to print the Armstrong numbers between 1 ans 500.
- A Program to demonstrate of auto storage class with default values.
- A program to demonstrate the scope visibility and lifetime of auto.
- A program to demonstrate the static storage class.
- A program to demonstrate the external storage class.
- A program to find the greater between two numbers using macros.
- A program to print whether character is upper case alphabet or not.
- A program to calculate the area of a circle.
- A program to demonstrate the conditional compilation.
- A program which reads a list of ten numbers and print the list in reverse order.
- A program that calculates the average marks of 5 different students using arrays.
- A program to find the largest number and its position in a list of n integers.
- A program to interchange the even position elements with odd position elements.
- A program to convert the binary number to a decimal number.
- A program to convert a decimal number to a binary number.
- A program to compute the mean , standard deviation and variance.
- A program to print the data of two dimensional array in the matrix form.
- A program to find the largest and smallest elements of a matrix.
- A program to find the sum of two matrices.
- A program to calculate the transpose of a matrix.
- A program to compute the multiplication of two matrices.
- A program to print the pascal's triangle.
- A program to print whether the elements of one dimensional array are even or odd.
- C Program to Find The Difference of Two Matrix
- C Program to Find Sum of Primary Diagonal of A Matrix
- C Program to Sort Number in Ascending Order
- A program to demonstrate the simple function without arguments.
- A program to calculate the sum of three given numbers.
- A program to convert lowercase characters to uppercase characters.
- A program to calculate the factorial of given integer.
- A program to exchange the values of two variables by using call by value function.
- A program to print the address of a variable.
- A program to find the sum of series ( 1+2+3+...+n).
- A program to find the sum of digits of an integer number.
- A program to compute the binomial coefficient ncr.
- A program to find the least common divisor ( LCD ) of two integers.
- A program to find greatest common divisor ( GCD) of two integers.
- A program to calculate the smallest of two numbers using function small.
- A program to compute the factorial of a number using recursion.
- A program to compute using ab recursion.
- A program to generate the n terms of Fibonacci series using recursion.
- A program to find the sum of x3/3!+x5/5!+x7/7!+.....
- A function REVERSE to reverse a number.
- A program to demonstrate the tower of Hanoi.
- A program to read and write your name using scanf( ) and printf( ).
- A program to read a string and count number of vowels , words and white spaces present in the string.
- A program to demonstrate the strlen ( ) function.
- A program to demonstrate the strcat ( ) function.
- A program to demonstrate the strcpy ( ) function.
- A program to demonstrate the strcmp ( ) function.
- A program to demonstrate the strrev ( ) function.
- A program to demonstrate the strupr ( ) function.
- A program to demonstrate the strlwr ( ) function.
- A program to check whether the entered string is palindrome or not.
- A program to sort the characters of a string alphabetically.
- A C Program to Sort the Strings In Ascending Order
- Program to Count Tabs, Blanks Spaces and Newlines in Given String In C
- A program to accept one line of text one character at a time and write it into a disk file.
- A program to read a file one character at a time and print the result on screen.
- A program to enter strings of data and write them onto a disk file.
- A program to write integer data in a file.
- A program to enter data of mixed type in a file.
- A program to read formatted data from the file.
- A program to write array of 5 elements to a file.
- A program to write a structure to a file.
- A program to read a file and count how many characters , spaces , tabs and newlines are present in that file.
- A program to read a text file and copies it into another file character by character.
- A program to read data randomly from file.
- A program to demonstrate command line arguments.
- A program to demonstrate Linear Search.
- A program to demonstrate Binary Search.
- A program to demonstrate Selection Sort.
- A program to demonstrate Bubble Sort.
- A program to demonstrate Insertion Sort.
- A program to demonstrate Merge Sort.
- A program to demonstrate Quick Sort.
A Program To Print The Pattern
*
* *
* * *
* * * *
* * * * *
A Program To Print The Pattern
* * * * * *
* * * * *
* * * *
* * *
* *
*
A Program To Print The Triangle With Stars
*
* * *
* * * * *
* * * * * * *
A Program To Print The Diagonal With Stars
*
* * *
* * * * *
* * *
*
A Program To Print The Latin Square
1 2 3 4
2 3 4 1
3 4 1 2
4 1 2 3
A Program To Print The Following Output
A
A B
A B C
A B C D
A B C D E
A Program To Print The Pascal's Triangle As Follows
1
1 1
1 2 1
1 3 3 1
A Program To Print The Following Output
1 2 3 4 3 2 1
1 2 3 3 2 1
1 2 2 1
1 1
Post a Comment