Just store the details in "records.txt" file and then run this application. This application reads the data from "records.txt" file and then fetches the details from that data. It calculates the profit by the following formula:profit = (sp - cp) * qty where, sp = selling price cp = cost price qty = quantity
debayanchakraborty-20thnov / super-market-profit-finder Goto Github PK
View Code? Open in Web Editor NEWJust store the details in "records.txt" file and then run this application. This application reads the data from "records.txt" file and then fetches the details from that data. It calculates the profit by the following formula:profit = (sp - cp) * qty where, sp = selling price cp = cost price qty = quantity