- 1. WAP to create a simple calculator using if-else
- 2. WAP to create a simple calculator using switch-case.
- 3. WAP to display a number if it is negative.
- 4. WAP to Check whether an integer is odd or even.
- 5. WAP to relate two integers (hint =,>, < symbol).
- 6. WAP to check whether a year is a leap year or not
- 7. WAP to check whether a character is alphabet or not.
- 8. WAP to input any alphabet and check it is vowel or consonant.
- 9. WAP to input any character and check whether it is alphabet, digit or special character.
- 10. WAP to input week number and print week day.
- 11. WAP to find roots of a quadratic equation using switch case.
- 12. WAP to input basic salary of an employee and calculate its Gross salary.
- 13. WAP program to print all natural numbers from 1 to n. - using while loop.
- 14. WAP program to print all natural numbers in reverse (from n to 1). - using while loop.
- 15. WAP program to print all alphabets from a to z. - using while loop.
- 16. WAP program to print all even numbers between 1 to 100. - using while loop.
- 17. WAP program to print all odd numbers between 1 to 100.
- 18. WAP program to find sum of all natural numbers between 1 to n.
- 19. WAP program to find sum of all even numbers between 1 to n.
- 20. WAP program to find the sum of all odd numbers between 1 to n.
- 21. WAP program to print multiplication table of any number.
- 22. WAP program to count the number of digits in a number.
- 23. WAP program to find the first and last digit of a number.
- 24. WAP program to find sum of the first and last digit of a number.
- 25. WAP program to swap first and last digits of a number.
- 26. WAP program to calculate the sum of digits of a number.
- 27. WAP program to calculate product of digits of a number.
- 28. WAP program to enter a number and print its reverse.
- 29. WAP program to check whether a number is palindrome or not.
- 30. WAP program to find frequency of each digit in a given integer.
- 31. WAP program to enter a number and print it in words.
- 32. WAP program to print all ASCII characters with their values.
- 33. WAP program to find power of a number using for loop.
- 34. WAP program to find all factors of a number.
- 35. WAP program to calculate factorial of a number.
- 36. WAP program to find HCF (GCD) of two numbers.
- 37. WAP program to find LCM of two numbers.
- 38. WAP to find max & min element in an array.
- 39. WAP to count the frequency of each element in an array
- 40. WAP to convert Decimal number into Octal number
- 41. WAP to count and display the position of Armstrong number in an array
- 42. WAP to separate out +ve, -ve and 0s in an array
- 43. WAP to reverse the array elements
- 44. WAP to the sum of integers in an array
- 45. WAP to sum of even numbers in an array
- 46. WAP to print odd numbers in array
- 47. WAP to find sum and average of all the elements in an array
- 48. WAP to search for a number in an array
- 49. WAP to sort array in ascending order
- 50. WAP to display prime number
- 51. WAP to print two-dimensional array
- 52. WAP to sum of two matrices
- 53. WAP to sum of all elements in a matrix
- 54. WAP to sum of diagonal elements.
- 55. WAP to find the transpose of a matrix
- 56. WAP to sum of middle row & column.
- 57. WAP to find difference of two matrices
- 58. WAP to sum of lower triangular elements
- 59. WAP to sum of upper triangular elements.
-
Notifications
You must be signed in to change notification settings - Fork 3
abhishek-shukla21/C-Programs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C programs
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published