List 2
List 2
Program 17: WAP to print frequency of a given number among array values.
Program 18: WAP to input & print a string with spaces using:1. scanf();2.
gets();printf(); & puts();
Program 19: WAP to input a string. Find & print its length using library function &
without using it.
Program 20: WAP to input a string. Print its reverse using library function &
without using it.
Program 21: WAP to input a string. Compare it with bigger/smaller & same strings.
Program 22: WAP to find no. of vowels into a given string.
Program 23: WAP to input & concatinate 2 or 3 strings.
Program 24: WAP to change case of each letter in a given string.
Program 25: WAP to accept password from user & check its correctness.
Program 26: WAP to create a structure book with book name, price, no. of pages.
Input & print record of 03 books.
Program 27: WAP to create a Union book with bookname, price,no. of pages. Input &
print record of 03 books. Compare the space taken in structure & Union.
Program 28: WAP to check a string for palindrome.
Program 29: WAP to count no. words, spaces, characters in a given string.
Program 30: WAP to check a string for palindrome.