Create a form accepting the values and check for validations using JavaScript: Your web site sells bags of wheat for the Children Feed Foundation. You sell regular wheat at Rs. 10/bag, you sell chaffed wheat at Rs. 12/bag, and you sell premium wheat for Rs. 20/bag. Your website will accept the following data: 1. Buyer Name (only text is entered) 2. Type of wheat (check box, default selected is regular wheat) 3. Number of bags (only number is entered) The user should be prompted his name along with the selected values. The discount values to be prompted as under along with the total amount (after discount) the buyer has to pay: 1. If the user buys more than Rs. 100 worth, they get a Rs. 20 discount. 2. If the total is over Rs. 500, a discount of Rs 100 is given on their total Write out their receipt to the web page, by writing out how many bags they purchased and how much that works out to. It should also mention the different types of wheat and their respective number of bags. Now, using the prompt ask the user if s/he wants to become a member of the Foundation and save 20% on their purchase and it should also state the amount of further discount. If the user says “yes”, add another Rs. 50 to the total for membership. Now take 20% off of that. Print out the receipt, as abov
Answers
Answered by
0
Answer:
veetukalayanam!!! bro veetukala!
Similar questions