Discussions Q&R
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 Vote
2 Réponses2
-6 Votes
2 Réponsesusing a while loop create a guessing game program that keeps asking the user to enter a number until the user enters the number 7. You will need to create and initialise an int variable to zero. You can then use this variable as the condition in your while loop ( while the number is not equal to seven) Then in the while loop ask the user to enter a number and store the number entered in the number variable that is in the conditions of your loop.
0 Vote
1 RéponseAujourd'hui en vedette
Where is all of the lecon?
1 Votes
Java
1 Votes
Html
1 Votes
Notes app bug
1 Votes
Java
0 Votes
Is there any free coding app?
0 Votes
BASIC
0 Votes
Not getting Badge issue
0 Votes
Imported Code not working
1 Votes