Harun Kestendžić

Smaller projects

Shop reports

A console program that reads a shop's customers, items and purchases from CSV files and writes five reports.

  • Read customers, items and purchases from CSV files into objects, and updated the stock from the purchases.
  • Wrote reports for top-selling items, top customers, sales per category, each customer's purchase history and inventory. Each report is its own class and saves a text file.
  • Practised file input and output, collections, sorting and grouping.
Type
Other software
What it is
Java console program, university coursework
Built with
Java
Flow diagram of the shop program from input files to report files
How the program works, from the CSV files to the report files.
Console output showing the top-selling items, top customers, category sales and inventory
Console output of a run (the purchase history part is left out).