
Write a program to initialize 7 names in an array and their respective roll numbers in another array. Search for a roll number input by the user ,in the list ,If found display "Search Successful" and print the name along with its roll number, otherwise display "Search Unsuccessful.roll number is not in the list".