• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

 Write a C++ program that retrieves all the numbers stored in a data file named LAB1.TXT. As each number is retrieved, it is displayed on the screen. After the end of file is reached, the numbers should be sorted into numerical order and then the result should be displayed EXAMPLE:  Assuming LAB1.TXT has the following numbers: 7  4  12  3       The output would be Original order:7  4  12  3Numerical order:3  4  7  12
c++
0 Votes
2 Answers
25th Sep 2016, 7:00 PM
Najwa
Najwa - avatar
< Previous1...7879Next >
Hot today
Fix code
0 Votes
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
How to learn C++ and how long does it take
1 Votes
Coding help
2 Votes
DSA doubt
1 Votes
Bridge pattern use case
0 Votes
Recover challenge history
0 Votes
Data structure using C
0 Votes