Write a program to initialize an array of 5 state names and initialize another array with their respective capital name. Search for a state name input by the user in the list. If found, display “Search Successful” and print the state name along with their respective capital name otherwise display “Name not found”.
Answers
Answered by
0
Explanation:
see the attachment to be
Attachments:
Similar questions