Question: Write the following program in c++. Combine your first and second name and pick only the first five characters of your name for the

Write the following program in c++. Combine your first and second name  

Write the following program in c++. Combine your first and second name and pick only the first five characters of your name for the project. 1. H. Declare an array named name1 and put all the first five characters into it. Write a for loop with an if condition that will find and output the index value of a searched character in the array. Let the program be such that the user will input the character being searched for.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!