Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# please screen shot the code Assignment1B: Grocery List. When shopping for groceries, it's helpful to know how much it's going to cost you in

C# please
screen shot the code
image text in transcribed
Assignment1B: Grocery List. When shopping for groceries, it's helpful to know how much it's going to cost you in advance - this helps you avoid an embarrassing situation in the check-out line. For this assignment, you're going to write a simple program that asks you for the name, quantity, and price of two grocery store items. It will then generate a grocery list for you, complete with the total price. (Later in the semester, we'll leam how to make a program that can create much larger lists, but we'll start small here). Call the file Assignment1B (with a file extension of .cpp, .cs or .java) Sample Output: What're you buying? Ice cream How many? 2 What do they cost? 2.25 What else 're you buying? Celery How many? 5 What do they cost? 1.74 Your list: Ice cream (2) $2.25($4.50 total) Celery (5) $1.74 (\$8.7 total) Total Cost: $13.2

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

Sql All In One For Dummies 7 Books In One

Authors: Allen G Taylor ,Richard Blum

4th Edition

1394242298, 978-1394242290

More Books

Students also viewed these Databases questions

Question

2. What is the business value of security and control?

Answered: 1 week ago