Question: Create a deno program that will create 10 invoices for a consulting company. Each invoice should have the name of the consultant, the number

 Create a deno program that will create 10 invoices for a consulting   

Create a deno program that will create 10 invoices for a consulting company. Each invoice should have the name of the consultant, the number of hours worked, and the total cost of the invoice. Don't forget to charge HST which is currently 13% but can change. Each consultant can have a different hourly rate as well. Make sure to use functions to avoid duplicate code, and make sure to validate your input. Example Input for 1 Invoice: Consultant name: Franco lacobacci Hourly Rate: $200 Hours worked this week: 40 Client name: ABC Inc Example output: ABC Inc Consultant: Franco Iacobacci Hours worked: 40 Subtotal: $8000 HST: $1040 Total: $9040

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!