Answer:
Yes. But beware of destroying files you need!
A Run of the Modified Program
Here is a sample run of the modified program:
C:/>java DiscountErr > discount.out Enter list price in cents: 100 Enter discount in percent: 25 Discount Price: 75 C:/>type discount.out Price in cents: 100 Discount: 25 Discount Price: 75 C:/>
QUESTION 13:
What happened to the previous version of the file discount.out
in the current subdirectory?