Write a complete PowerShell script to print a receipt (for a Daily Needs Store) based on a fixed number of input quantities (8 food items and 2 other items) as shown in figure below. User enters ONLY the quantity. Price is fixed for each item as shown in each echo statement. Then the script must print the receipt for the items purchased as shown in the figure: Note: 8.25% tax is charged ONLY on non-food items such as Batteries and Vitamins. Output has to match the image below

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write a complete PowerShell script to print a receipt (for a Daily Needs Store) based on a fixed number of input quantities (8 food items and 2 other items) as shown in figure below. User enters ONLY the quantity. Price is fixed for each item as shown in each echo statement. Then the script must print the receipt for the items purchased as shown in the figure: Note: 8.25% tax is charged ONLY on non-food items such as Batteries and Vitamins. Output has to match the image below 

 

IT HAS TO BE POWERSHELL NOT PYTHON OR ANY OTHER CODING LANGUAGEtry to do it under 40-50 minutes

 

 

Affordable Daily Needs
This Program will prompt for 10 items.
Enter qualtuty of each item purchased.
: 2
: 3
: 2
: 2.3
: 3.4
: 4.1
How many Pounds of Tomatoes ($0.99 each) : 6.5
: 5.5
How many 2-pack AA batteries($2.39 each): 2
How many Bottles of Vitamin($4.89 each) : 3
How many loaves of Bread ($1.75 each)
How many Galilons of Milk ($3.29 each)
How many Bags of Chips ($4.19 each)
How many Pounds of Potatos ($1.49 each)
How many Pounds of Bananas ($0.49 each)
How many Pounds of Beef($5.29 each)
How many Pounds of Apples($1.29 each)
3=
Affordable Daily Needs
4715 San Perdro Avenue
San Antonio TX 78217
Phone: 210-128-1919
Item
Qty
Price/Unit Cost
Bread
Milk
Chips
Potatoes
Bananas
Beef
Tomatoes
Аpples
Batteries
vitamins
$1.75
$3.29
$4.19
$1.49
$0.49
$5.29
$0.99
$1.29
$2.39
$4.89
2.0
3.50
3.0
9.87
2.0
8.38
2.3
3.43
3.4
1.67
4.1
21.69
6.5
6.44
5.5
7.10
2.0
4.78
3.0
14.67
Subtotal
Tax @ 8.25%
$81.51
$ 1.60
Total
$83.12
======
Sales Clerk: Your Name
Counter#: 17
Date: 2/20/2022 9:58:42 AM
Transcribed Image Text:Affordable Daily Needs This Program will prompt for 10 items. Enter qualtuty of each item purchased. : 2 : 3 : 2 : 2.3 : 3.4 : 4.1 How many Pounds of Tomatoes ($0.99 each) : 6.5 : 5.5 How many 2-pack AA batteries($2.39 each): 2 How many Bottles of Vitamin($4.89 each) : 3 How many loaves of Bread ($1.75 each) How many Galilons of Milk ($3.29 each) How many Bags of Chips ($4.19 each) How many Pounds of Potatos ($1.49 each) How many Pounds of Bananas ($0.49 each) How many Pounds of Beef($5.29 each) How many Pounds of Apples($1.29 each) 3= Affordable Daily Needs 4715 San Perdro Avenue San Antonio TX 78217 Phone: 210-128-1919 Item Qty Price/Unit Cost Bread Milk Chips Potatoes Bananas Beef Tomatoes Аpples Batteries vitamins $1.75 $3.29 $4.19 $1.49 $0.49 $5.29 $0.99 $1.29 $2.39 $4.89 2.0 3.50 3.0 9.87 2.0 8.38 2.3 3.43 3.4 1.67 4.1 21.69 6.5 6.44 5.5 7.10 2.0 4.78 3.0 14.67 Subtotal Tax @ 8.25% $81.51 $ 1.60 Total $83.12 ====== Sales Clerk: Your Name Counter#: 17 Date: 2/20/2022 9:58:42 AM
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY