The calculation example

JavaScript can be used to perform calculations like a spreadsheet:


Buy   copies at   each.

Total cost:
Sales tax:
Amount due: