9852 Press any key to continue
Question 9:
(1 mark, file to be edited: Q9.c)
The program allows the user to enter a list of 'n' student names from the keyboard, each student name separated by a space.
Continue, enter a search character.
Paper No: 10
6 of 6
The system finds and prints the names of students whose letters start with the search character.
Below is an example of how to run the program:
Enter: n = 5, names = {"hoa", "Hoang", "Binh", "hai", "Toan"}, searchKey = 'H'
5
hoa Hoang Binh hai Toan
H
OUTPUT:hoa
Zoom
+ 100%
Close