Top 10 C Programs

Hello 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.

WAP 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.

WAP that accepts the temperature in Centigrade and converts into Fahrenheit using the formula C/5=(F-32)/9.

WAP that swaps values of two variables using a third variable.

WAP that checks whether the two numbers entered by the user are equal or not.

. WAP to find the greatest of three numbers.

WAP that finds whether a given number is even or odd.

WAP that tells whether a given year is a leap year or not.

WAP 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.

YouTube