1. Engineering
  2. Computer Science
  3. given the contents of the receipttxt file write a series...

Question: given the contents of the receipttxt file write a series...

Question details

Given the contents of the receipt.txt file; write a series of piped commands that will read the file and output a count of the number of lines that contain a negative number. receipt.txt Burrito Shack 5663 S Power Rd, Mesa, AZ 85212 (480) 988-6017 $10.00 1.50 2.00 0.72 10.22 + Thw Works Burrito + Drink ASU discount TAX (7.5%) TOTAL CASH CHANGE DUE $20.00 $9.78 THANK-YOU! TIP: A correct solution would return 1; the line containing the ASU discount of -2.00

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution