The insruction is create a program that asks for two input srings until the character 'x' is encountered. For each input string display as output its length, its reverse and the concatenation of reversed inputs (see output below).

Sample output:

Enter 1: Hellox
enter 2: Goodbyex

the inputs are: Hello and goodbye
the lengths are: 5 and 7
the reverse are: Olleh and eybdoog
concatenation: Olleheybdoog

do you like to repeat asking input?(y/n)y

manojwali commented: We here did not like spoon feeding, come again when you need some help in C++ or any language. +0

Recommended Answers

All 2 Replies

===posting of codes is highly appreciated==
please be gentle..

We don't just post code for people that ask for it. You need to do the work on your own, then come in and ask us for help on specifics if/when you get stuck.

In other words, we'll help with homework, but we won't do it for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.