- You Are Given Two Input Files Inl Txt And In2 Txt That Each Has Integer Values That Are Already Sorted Write C Statem 1 (41.39 KiB) Viewed 19 times
You are given two input files inl.txt and in2.txt that each has integer values that are already SORTED. Write C++ statem
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
You are given two input files inl.txt and in2.txt that each has integer values that are already SORTED. Write C++ statem
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