You are given two input files inl.txt and in2.txt that each has integer values that are already SORTED. Write C++ statem
Posted: Tue Jul 05, 2022 10:19 am
You are given two input files inl.txt and in2.txt that each has integer values that are already SORTED. Write C++ statements that output into screen the contents of inl.txt and in2.txt in sorted order. For example if in1.txt has 3 12 And in2.txt has 1 Then your C++ statements output to the screen 1 3 6002 8 12 Note: You cannot use sorting for this problem (in fact you do not need to use sorting). Note: Do not use arrays to solve the problem as it becomes inefficient. Note: Your program should be general and works for any input files not only the example above