C Programs
C Programs
24. Program to accept a year and check the given year is leap or not by using ternary
25. Program to accept a character in the uppercase and print in lower case.
26. Program to accept a character in any case and print in another case.
28. Program to accept a string and print it by using the while loop.
29. Program to accept a string in upper case and print it by lower case.
30. Program to accept a string in any case and print it by another case.
32. Program to accept a string and count no of capital letters, no. of small letters and no. of
special characters
33. Program to accept any single digit number and print it in words.
35. Program to accept two numbers and print sum of two numbers by using functions
37. Program to accept a number and check the given number Armstrong or not
38. Program to accept a number and print the sum of given and Reverse number
39. Program to accept 10 numbers and print first five numbers in original order and print last five
numbers in reverse order.
40. Program to accept a string and print the reverse of the given string by using for loop.
41. Program to accept a string and check the given string is palindrome or not.