// 编写一个程序,输出在顺序表(3,6,2,10,l,8,5,7,4,9) 中采用顺序查找方法查找关键字5的过程。 #include #include using namespace std; template int seqSearch(vector l,T value) { if (l.empty()) { cout << "空表" << endl; return -1; } bool found = false; int index = 0; for (int i=0; i l={3,6,2,10,'l',8,5,7,4,9}; int index=seqSearch(l,5); cout<