Programs Using String Functions: IT 105 Computer Programming 2
The document describes 4 programs that use string functions in C++. Program 1 accepts two words of equal length. Program 2 accepts words ending in 'y'. Program 3 produces a full name by concatenating first and last names entered by the user. Program 4 determines if a word is a palindrome by reversing the string and comparing it to the original. Several solutions for each program are provided and explained in 1-3 sentences each.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
47 views
Programs Using String Functions: IT 105 Computer Programming 2
The document describes 4 programs that use string functions in C++. Program 1 accepts two words of equal length. Program 2 accepts words ending in 'y'. Program 3 produces a full name by concatenating first and last names entered by the user. Program 4 determines if a word is a palindrome by reversing the string and comparing it to the original. Several solutions for each program are provided and explained in 1-3 sentences each.