Anda di halaman 1dari 1

Class Assignment-4

1. WAP to find maximum of two integers using function call (call by reference and call
by value).
2. WAP which counts the number of vowels and consonants in a string (sentence).
3. WAP which counts the number of words in a string (sentence).
4. WAP to find whether a string is substring or not of a given string.
5. WAP which will read a string (word) and rewrite it in the alphabetical order.
6. WAP to find the entering string (word) is palindrome or not.
7. WAP to find the occurrences of alphabets in a string.