Menu

Ii Maincpp Les 118 Selectionsort Arr N 119 Break 120 121 Case 3 122 123 Cout Q43872676

C++ Program
II main.cpp les 118 SelectionSort (arr, n): 119 break: 120 121 case 3:( 122 123 cout<<Inaertion Sort n: 124 insertion (arrLogs & others A Code::Blocks Search results A Ccc Build log Build messages X CppCheck/Ve File Line Message C:UsersJorge...Logs & others A Code::Blocks Search results Cccc Buld log Build messages X CppCheck/Vera++ File Line Message C:UsersJorge.
Fixthe errorsII main.cpp les 118 SelectionSort (arr, n): 119 break: 120 121 case 3:( 122 123 cout<<“Inaertion Sort n”: 124 insertion (arr,n): 125 break; 126 127 default: cout<<“Wrong Choice n”<<endl; 128 129 130 cout<<“Ordered Arrayn”: printArray (arr,n); cout<<“Number of exchange made-“<<cnt<<“n”: 131 132 cout<<“Numerical comparisiona n”: for (vector<paircint, int>:: const iterator ptr-numerical_comparisions.begin (): ptr!-numerical_comparisions.end () :ptr++) 133 134 135 136 137 138 cont<<ptr->first<<“>”<<ptr->second<<“n”: Logs & others X Cocc X X Build messages x CppCheck/Vera++ A CopCheck/Nera++ Code:Blocks Search results Build log File Line Hessage 118 error: ‘SelectionSort’ was not declared in this scope C:UsersJorge. C:UsersJorge.. error: ‘insertion wAS not declared in this scope 124 C:UsersJorge. error: ‘const iterator’ is not a member of ‘std: pairint, int> 134 134 const iterator’ is not a member of ‘std::pair<int, int>’ C:UsersJorge error: C:UsersJorge… 135 error: template argument I is invalid Insert C/C++ Windows (CR+LF) WINDOWS-1252 Line 118, Col 1, Pos 2263 gment_Mod6main.cpp -to search Logs & others A Code::Blocks Search results A Ccc Build log Build messages X CppCheck/Ve File Line Message C:UsersJorge… 118 error: ‘SelectionSort’ was not declared in this scope C:UsersJorge… 124 “insertion was not declared in this scope error: C:UsersJorge 134 error: “const iterator’ is not a member of std:pair<int, int> C:UsersJorge.. 134 error: const iterator’ is not a member of std: paircint, int C:UsersJorge… 135 error: template argument 1 is invalid Mod6main.cpp C/C++ Windows (CR+LF) WINDOWS-1252 Line 118, Col 1, Pos 2263 earch Logs & others A Code::Blocks Search results Cccc Buld log Build messages X CppCheck/Vera++ File Line Message C:UsersJorge. const iterator’ is not a member of ‘std: paircint, int>’ 134 error: C:UsersJorge… 134 error: ‘const_iterator’ is not a member of ‘std::pair<int, int> C:UsersJorge.. 135 error: template argument 1 is invalid C:UsersJorge. 135 error: template argument 2 is invalid C:UsersJorge. 136 error: ‘ptr’ was not declared in this scope ment_Mod6main.cpp C/C++ Windows (CR+LF) WINDOWS-1252 Line 118, Col 1, Pos 2263 Lo search hp Show transcribed image text II main.cpp les 118 SelectionSort (arr, n): 119 break: 120 121 case 3:( 122 123 cout

Expert Answer


Answer to II main.cpp les 118 SelectionSort (arr, n): 119 break: 120 121 case 3:( 122 123 cout…

OR