Strings Game:  WAP in which user enters 5 strings each of length 5. You have to form a new string of length 5 that contains first character of string1, second character of string2 and so on till 5th character of string5. Print the string formed in output. C++

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 7PP
icon
Related questions
Question

Strings Game: 

WAP in which user enters 5 strings each of length 5. You have to form a new string of length 5 that contains first character of string1, second character of string2 and so on till 5th character of string5. Print the string formed in output.

C++

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr