Imagine that you're the owner of a new small corner shop. You are doing well and want to determine how much you earned in the first month. Create a simple tool that will calculate your net income. Upon completing this project, you can use this tool for your own accounting needs.
Start with printing the names of items and their prices using your first JavaScript function.
You know how much you earned by selling each item. Calculate the total earnings before staff and other expenses!
Measure the shop’s net income. Subtract staff, electricity, and security expenses.