language html and javascript
Posted: Sat May 14, 2022 6:42 pm
language html and javascript
Question 1: A company sells five different products whose retail prices are as follows: product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $4.49; and product 5, $6.87. Write a JavaScript code for the below: i. Product number ii. Quantity of the product iii.Price of one quantity Make use of a prompt dialog to obtain the product number, quantity, and price from the user. Displays the total price of all the products.
Question 1: A company sells five different products whose retail prices are as follows: product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $4.49; and product 5, $6.87. Write a JavaScript code for the below: i. Product number ii. Quantity of the product iii.Price of one quantity Make use of a prompt dialog to obtain the product number, quantity, and price from the user. Displays the total price of all the products.