C Prog

Lot's of example here for you.....

Basic Program
  1. Hello World
  2. Program to Print an Integer
  3. Program to Add Two Integer
  4. Program to Multiply Two Number
  5. C Program to Find ASCII Value of Character
  6. C Program to Compute Quotient and Remainder
  7. Find the Size of Float, int, double and char
  8. C Program to Demonstrate the Working of Keyword Long
  9. C Program to Swap Two Numbers
  10. Find the Perimeter and Area of Rectangle
  11. C Program to convert temperature from celsius to fahrenheit
  12. C Program to convert temperature from fahrenheit to celsius
  13. C Program to convert days into years, weeks and days
  14. C Program to find power of any number
  15. C Program to enter any number and Calculate its Square Root
  16. C Program to Find the Third Angle of Triangle
  17. C Program to Calculate Area of an Equilateral Triangle
  18. C Program to Find Total, Average and Percentage Marks of Subjects
  19. C Program to Calculate Simple Interest
  20. C Program to Calculate Compound Interest

Decision Making
  1. C Program to Check Whether a Number is Even or Odd
  2. C Program to Check Whether a Character is Vowel or Consonant
  3. C Program to Find the Largest Number Among Three Numbers
  4. C program to Find all Roots of a Quadratic equation
  5. C Program to Check Leap Year


If Else Programming
  1. WAP to input two number and Find maximum between two.
  2. WAP to input three number and FInd the maximum between three.
  3. WAP to input any number and Check whether it is Even or Odd.
  4. WAP to input any number and check whether it is negative, positive or zero.
  5. WAP to input an number and check whether it is  divisible by 3 and 5 or not
  6. WAP to count total number of notes in given amount
  7. WAP to input any character and check whether it is alphabet, or not
  8. WAP to check whether a character is Uppercase or Lowercase alphabet
  9. WAP to input week number and print week day name.
  10. WAP to input month number  and  print number of days in that month
  11. WAP to input angle of Triangle and check whether triangle is valid or not
  12. WAP to input all side of triangle and check whether triangle is Equilateral, Isosceles or Scalene Triangle

Conditional/Ternary Programming

Loop Programming
  1. WAP to print all natural numbers from 1 to n using while loop.
  2. WAP to print all natural numbers in reverse from n to 1 using while loop.
  3. WAP to print all alphabets from a to z.
  4. WAP to print all even numbers between 1 to 100 using while loop.
  5. WAP to print all odd number between 1 to 100 using while loop.
  6. WAP to print sum of all even numbers and odd number between 1 to n.
  7. WAP to print table of any number using for loop.
  8. WAP to enter any number and calculate sum of its digits.
  9. WAP to enter any number and calculate product of its digits.
  10. WAP to enter any number and calculate sum of all natural numbers between 1 to n.
  11. WAP to enter any number and find its last digit.
  12. WAP to enter any number and print its reverse.
  13. WAP to enter any number and check whether the number is palindrome or not.
  14. WAP to enter any number and print it in words.
  15. WAP to print all ASCII character with their values.
  16. WAP to find power of any number using for loop.
  17. WAP to enter any number and find the sum of first and last digit of the number.
  18. WAP to enter any number and print all factors of the number.
  19. WAP to enter any number and calculate its factorial.
  20. WAP to find HCF(GCD) of two numbers.
  21. WAP to find LCM of two numbers.
  22. WAP to enter any number and check whether it is prime number or not.
  23. WAP to enter any number and whether it is Armstrong number or not.
  24. WAP to enter any number and check whether it is perfect number or not.
  25. WAP to enter any number and check whether it is Strong number or not.
  26. WAP to print all Prime numbers between 1 to n.
  27. WAP to print all Armstrong numbers between 1 to n.
  28. WAP to print all Perfect  number between 1 to n.
  29. WAP to print all Strong numbers between 1 to n.
  30. WAP to find all factor of a number
  31. WAP to find sum of all prime numbers between 1 to n.
  32. WAP to print fibonacci series up to n terms.
  33. WAP to find one's complement of a binary number.
  34. WAP to find two's complement of a binary number.
  35. WAP to convert Binary to Octal number system.
  36. WAP to convert Binary to Decimal number system.
  37. WAP to convert Binary to Hexadecimal number system.
  38. WAP to convert Decimal to Binary number system.
  39. WAP to convert Decimal to Octal number system.
  40. WAP to convert Hexadecimal to Decimal number system.

Comments

Most Viewed

Write C program to enter any year and check whether year is leap year or not using conditional/ternary operator.

WAP to input week number and print week day name.

C Program to Find Third Angle of a Triangle