C Language Program List with Source Code

 

C Language Program List with Source Code




  1. Simple structure of C program

  2. C program to display hello world message on screen

  3. C program to use of comment lines

  4. C program to use of \t and \n character

  5. C program to assign two integers and display on screen

  6. C program to input two integers and display on screen

  7. C program to declare two variables using integer data type and display on screen

  8. C program to use of float data type, assign values with assignment operator and display it on screen

  9. C program to input float values and store it in two variables and then display on screen

  10. C program to perform addition of two integers. The values are to be assigned with assignment operator

  11. C program to perform addition of two integers. The values are to be entered through keyboard.

  12. C program to perform subtraction of two integers.

  13. C program to perform multiplication of two numbers.

  14. C program to perform division of two numbers. Use float data type

  15. C program to find remainder of division. Use float data type and integer data type.

  16. C program to perform arithmetic operations. Declare variables with integer and float data type.

  17. C program to to calculate area of interest. Assign n, p and r values.
    n - period
    r - rate of interest
    p – principle amount

  18. C program to calculate simple of interest. Input n, p, r values through keyboard

  19. C program to find out area of triangle. ( area= h * b/2). Assign height and base values.

  20. C program to find out area of triangle. ( area= h * b/2). Input height and base values through keyboard.

  21. C program to find out area of circle. ( area= pi*r*r). Assign pi vale. Input radius through keyboard. Use float data type.

  22. C program to find out area of rectangle. ( area= l*b). length and breadth values through keyboard. Use float data type.

  23. C program to find out area of square. ( area= side*side). Input side value through keyboard. Use float data type.

  24. C program to find out area of cube. ( area= 6*side*side). Input side value through keyboard. Use float data type.

  25. Write C program to find out area of geometric shapes such as triangle, circle, rectangle, square and cube.

  26. Write a C program to calculate percentage of Student

  27. C program to convert temperature from degree Celsius to degree Fahrenheit

  28. C Program to convert temperature from degree Fahrenheit to degree Celsius

  29. C program to check number is positive

  30. C program to find number is even

  31. C program to find number is odd or even

  32. C program to check candidate is eligible for voting or not

  33. C program to find the person is senior citizen or not

  34. C program to find student is pass or fail in examination

  35. C program to find profit and loss in business using if else statement

  36. C program to find bigger and smaller number among two numbers. if number is bigger then check number is even or odd using nested if else statement 


  37.  C program to display day of week using switch case statement in C language

  38. C program to display area of geometric shapes using switch case

  39. switch case program in C language to display area of geometric shapes

  40.  C program to display first 10 natural numbers using for loop

  41. C program to display sum of first 10 natural numbers using for loop 

  42.  C program to display sum of first 10 even numbers using for loop

  43. C program to display first N natural numbers using for loop

  44. C program to display sum of first N natural numbers using for loop

  45. C program to display sum of first N even numbers using for loop

  46. C program to calculate factorial of given number

  47. C program to display fibonacci series using for loop

  48. C program to display sum of fibonacci series

  49.  C program to display given number in reverse order using while loop

  50. C program to perform sum of digits of given number till it becomes single digit

  51. C program to check given number is palindrome using while loop

  52. C program to check given number is prime or not

  53. C program to display prime numbers up to N numbers

  54. C program to check given number is Armstrong or not

  55. C program to display Armstrong numbers series up to N number.

  56. C program to display multiplication table

  57. C program to display multiplication table of 2 to 10

  58. C program to display multiplication table of N numbers

  59. C program to display number pattern

  60. C program to initialize array elements

  61. C program to enter array elements at run time(User input)

  62. C program to find smallest and largest array element

  63. C program to sort an array elements in ascending order

  64. C program to enter 2-D array elements and display on screen

  65. C program to perform addition of two matrices

  66. C program to perform subtraction of two matrices

  67. C program to perform multiplication operation of two matrix

टिप्पणी पोस्ट करा

1 टिप्पण्या

कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏