In the file will looks something like this black box 2010.1 100.8 -14.02 red box
ID: 3555033 • Letter: I
Question
In the file will looks something like this
black box 2010.1 100.8 -14.02
red box 1891.3 300.3 123.42
with many more files listed similar to this. If a black box is found I need it to display a message saying it was found. if all three location numbers are negative I need to display a message. And also have a line displaying the total number of black boxes found. Use basic commands. I'm in an introductory programming class. The user will be entering the file name and the program will read from that file
Explanation / Answer
Which language do you want the program in ?
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.