C Programs
Hello World in Program in C
C ProgramHello World in C Language
WAP that calculates the Simple Interest and Compound Interest. The Principal, Amount, Rate of Interest and Time are entered through the keyboard.
Sum and Percentage marks Program in C
C ProgramWAP that accepts the marks of 5 subjects and finds the sum and percentage marks obtained by the student.
WAP to calculate the area and circumference of a circle.
Centigrade into Fahrenheit Program in C
C ProgramWAP that accepts the temperature in Centigrade and converts into Fahrenheit using the formula C/5=(F-32)/9.
Swap using a third variable Program in C
C ProgramWAP that swaps values of two variables using a third variable.
Numbers equal or not Program in C
C ProgramWAP that checks whether the two numbers entered by the user are equal or not.
Greatest of three numbers Program in C
C Program. WAP to find the greatest of three numbers.
Even or Odd Program in C
C ProgramWAP that finds whether a given number is even or odd.
Leap year Program in C
C ProgramWAP that tells whether a given year is a leap year or not.
Percentage and Grades Program in C
C ProgramWAP that accepts marks of five subjects and finds percentage and prints grades according to the following criteria:
Between 90-100%————–Print „A‟
80-90%—————————-Print „B‟
60-80%—————————Print „C‟
Below 60%———————-Print „D‟
WAP that takes two operands and one operator from the user and perform the operation and prints the result by using Switch statement.
WAP to print the sum of all numbers up to a given number.
Factorial Program in C
C ProgramWAP to find the factorial of a given number.
Sum of even and odd numbers Program in C
C ProgramWAP to print sum of even and odd numbers from 1 to N numbers.
Fibonacci series Program in C
C ProgramWAP to print the Fibonacci series.
Prime Number Program in C
C ProgramWAP to check whether the entered number is prime or not.
Sum of digits Program in C
C ProgramWAP to find the sum of digits of the entered number.
Reverse of a number Program in C
C ProgramWAP to find the reverse of a number.
Armstrong numbers Program in C
C ProgramA positive number is called armstrong number if it is equal to the sum of cubes of its digits.
WAP to convert binary number into decimal number and vice versa.
WAP that inputs two arrays and saves sum of corresponding elements of these arrays in a third array and prints them.
WAP to find the minimum and maximum element of the array.
Linear Search Program in C
C ProgramWAP to search an element in a array using Linear Search.
Bubble Sort Program in C
C ProgramWAP to sort the elements of the array in ascending order using Bubble Sort technique.
Multiply two matrices Program in C
C ProgramWAP to add and multiply two matrices of order nxn.
WAP that finds the sum of diagonal elements of a mxn matrix.
String Functions Program in C
C ProgramWAP to implement strlen (), strcat (),strcpy () using the concept of Functions.
Structure data type Program in C
C ProgramDefine a structure data type in C language
WAP to swap two elements using the concept of pointers.
WAP to compare the contents of two files and determine whether they are same or not.
WAP to check whether a given word exists in a file or not. If yes then find the number of times it occurs.