Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

INDEX.HTML + STYLE.CSS Question 2 Make the title of this page: (Your Name)s Grocery Shopping List. Put a single button on the screen. When the

INDEX.HTML + STYLE.CSS

Question 2 Make the title of this page: (Your Name)s Grocery Shopping List. Put a single button on the screen. When the user clicks the button, prompt the user twice: once for the name of an item for the shopping list and again for the price. After the user enters the two required elements, the program loops and asks the user for two additional elements. If the user enters done for a shopping list item, then the program quits. For this question, you must use a while loop. Once the loop ends, display a table of all of the items and their prices. After the table, display the total price of all of the items. This program is tricky. Think about an instance in which the program starts and the user immediately clicks done. What should happen? The program should display that the total of all items is $0.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago