I have a text file that contains some data for a software program.
Each line of the text file represents a product (ie: a beverage).
The second item in the text file is the item name (ie: Bud Light).
The last number in the text file for each row, is a quantity sold for that product (ie: 8)
I need a simple program that will let me tap a button in order to increase the quantity sold of the product.
This is how the program should work.
The program will read each line of the text file and it will populate with a square for each item in the file.
The square will contain the item name.
When I click the square for that item, it will automatically increase the quantity sold in the text file by 1 and save the file.
For example, assume the text file looks like this:
The program will have four squares, one that says Bud, one that says Bud Light, one for Coors Light, and one for Corona. When I click the square for the corresponding product, the last value in the row will increase by one. For example, if I click the Bud square three times, the first line of the file will look like this:
I also need a button that will let me reset all of the values back to zero.
This program can be created in any language.
I've attached an example of the text file.
Được trao cho:
17 freelancer đang chào giá trung bình $38 cho công việc này
Hello, I can collaborate developing the software to manage the information of the text file according to what you request in the description of the project. We can discuss by chat Thank you Andres.
Hello. I have read your project description carefully and understood. It's a piece of cake for me. Contact me please. I'll do it in a hour. Thanks,