Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write 8086 assembly code along with comments and output to compute the bill for a grocery store using following MACROs . String_ : To take

Write 8086 assembly code along with comments and output to compute the bill for a grocery store using following MACROs .

String_ : To take string variable as an argument and display

Total_Bill: To compute the total bill of all products

Bill_Disc: To calculate the discount on the bill by using following logic

If the total purchase bill is more than Rs. 3000-4999/- then the discount will be Rs. 50 , if the total bill is Rs. 5000-6999/- then the discount will be Rs.80 and if the total bill is more than Rs. 7000/- then the discount will be Rs. 100. (Marks 15)

Sample Execution:

Welcome to XYZ Store

*********************************

Product no.1: 500..

Product no.2: 600...

Product no.3: 1800.

Product no.4: 1000 (To terminate entering product details press T)

Total Bill: 3900..

Total Bill after discount: 3850

Thank you for shopping

*********************************

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

Describe the role of the stakeholder, and list several examples.

Answered: 1 week ago