Top Posters
Since Sunday
New Topic  
青山 素子 青山 素子
wrote...
Posts: 1332
Rep: 4 0
7 years ago
Create a decision table, with appropriate condition stubs, action stubs, and rules for the following grocery store scanner machine. You should condense the rules whenever possible to account for indifferent conditions.

This scanner will calculate the amount to charge for each product according to the following decision process. There are three considerations that are taken into account. First, the product can be a food item or a non-food item. Second, the customer may or may not have a coupon for the product. Third, the quantity of that product that the customer purchased will have an impact.

The actions to take are as follows. First, regardless of any condition, the product price will be added to the total. If the product is not a food item, the sales tax for the product is added, otherwise there will be no sales tax. If the customer has a coupon for the product, the coupon amount is discounted from the product price. If the product is a food item and the customer has purchased more than five items of that product type, then the bulk rate percentage is applied to the product price. However, in order for the bulk-rate percentage to be applied to a non-food item, the customer must have purchased more than ten of the items of that type.
Textbook 
Object-Oriented System Analysis and Design

Object-Oriented System Analysis and Design


Edition: 1st
Authors:
Read 176 times
3 Replies
Replies
Answer verified by a subject expert
fierofiero
wrote...
Top Poster
Posts: 1332
Rep: 8 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
This verified answer contains over 200 words.
1
Computer nerd Nerd Face

Related Topics

青山 . Author
wrote...
7 years ago
Perfect way to end the semester Wink Face
wrote...
7 years ago
Thanks for the feedback!
Computer nerd Nerd Face
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1239 People Browsing
Related Images
  
 8698
  
 72
  
 4642
Your Opinion
What's your favorite coffee beverage?
Votes: 274

Previous poll results: Where do you get your textbooks?