The simple customer invoice is an interactive application used to assist with customer purchases. The user is required to enter information about the product being sold and the customer and then print that information based on what the user enters. It then asks the user if they want to print the purchase report which consists of the product price, tax, commission, discount, and the total.
- Start by cloning the repository and running the application in your IDE.
- Once the application is running it will prompt you to enter the following information:
- customer number,
- customer first name
- customer surname
- product name
- product price
- quantity required
- Once the information is entered then the application will then print out the customer invoice.
- After that, it will then ask you if you would like to view the product report and if the user enters โ1โ then the purchase report is printed. In the purchase report the produce, tax, commission, discount, and the total are displayed.
- If you entered any other key besides one then the application will exit.