Dear Students,
Find attached your next assignment on String. You can post your solutions in the comment.
1. WAP to reverse a string without using function. For example if user enters “HELLO”, output should be “OLLEH”.
Find attached your next assignment on String. You can post your solutions in the comment.
1. WAP to reverse a string without using function. For example if user enters “HELLO”, output should be “OLLEH”.
2. Write
a function XREVERSE to reverse a string entered by user.
3. WAP
to remove vowels from a string and then print it. For example if user enters
string “UMBRELLA” then output should be “MBRLL”.
4. Write
a user defined function XSTRCMP for comparing two strings.
5. Write
a user defined function SXTRXAT for concatenating two strings.
6. WAP
to find whether a string is palindrome or not. A string is said to be
palindrome if we get the same string on reversing it. (For ex. “wow” is
palindrome).
No comments:
Post a Comment