New course! Every coder should learn Generative AI!
Try a free lessonQ&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
0 Votes
2 AnswersHot today
Help me plss
4 Votes
Android studio emulator
1 Votes
Return function
1 Votes
Wrong?
0 Votes
Can anyone guide me
0 Votes
Internal vs external JS
1 Votes
Putting files in another folder
1 Votes