Write a program to get an array of Strings from the user and then accept a string to find in the array. The program should print ‘Found’ if the value is present in the array else print ‘Not Found’.
Enter the number of elements in the String:
5
Enter a String:
abc
Enter a String:
def
Enter a String:
xyz
Enter a String:
123
Enter a String:
Pqr
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/engineering-answer-47609.pdf
Comments
Leave a comment