subject

Write a program that allows the user to navigate the lines of text in a file. the program should prompt the user for a filename and input the lines of text into a list. the program then enters a loop in which it prints the number of lines in the file and prompts the user for a line number. actual line numbers range from 1 to the number of lines in the file. if the input is 0, the program quits. otherwise, the program prints the line associated with that number

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Who introduced the concept of combining artificial and natural light in the studio
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
Click on the tab on the ribbon to open the backstage view. file view insert review
Answers: 1
You know the right answer?
Write a program that allows the user to navigate the lines of text in a file. the program should pro...
Questions
question
Mathematics, 25.09.2020 14:01
question
Mathematics, 25.09.2020 14:01
question
Mathematics, 25.09.2020 14:01
Questions on the website: 13722361