logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

Program based on a Selection and Loop structures, Counters and Accumulators

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment 4 - Automotive Junk Yard Problem - UPDATE!

 

(Program based on a 'Selection' and 'Loop' structures, Counters and Accumulators)

 

You have been tasked with updating a program for a automotive junk yard. They still want want to encourage their customers to make large purchases ($1000 or more) so the customer can get 15% off their order.  Additionally, sales tax is 8% and they are no longer offering the 1% sales tax to customers over 70 years old. However, they still want to display a receipt showing the amount of purchase, the amount of the discount (if any), sales tax, and the total costs.  At the end of the day, they want a summary displaying the total number of customers and the total amount of sales (includes the sales tax).

 

Requirements:

Flowchart must list ALL variables (constant and regular) first

Begin by asking the customer if they want to make a purchase (yes or no)?

Next, ask the customer for their purchase amount (if the previous response was a "yes")

At the end of the transaction, they want to provide the customer a receipt with the following information: 

 

 

o Initial amount of the order

o Total amount of discount (if any)

o The subtotal (initial order minus the discount)

o The amount of sales tax

o Total

               Determine if there is another customer (yes or no)

               Receipt Example:

              (Based on 3 customers - for testing purposes only)

               Order = $2000

               Discount = $300

               Sub Total = $1700

               Sales Tax = $136

               Total = $1836

 

               Order = $200

               Discount = $0

               Sub Total = $200

               Sales Tax = $16

               Total = $216

 

              Order = $1000

              Discount = $150

              Sub Total = $850

              Sales Tax = $68

              Total = $918

When there are no more customers, display the following information:

            Example: (based on the test information above)

          Total Customers =  3

          Total Sales = $2970

Using 'Raptor', (Mac users - see step 2), develop a runnable flowchart based on the stated problem. It must contain all the variables, inputs, computations, and output:

1. Right click on the 'Start" symbol and add a comment. The comment must contain the following:

Name

Course

Date

Assignment number 

 

Example:

Carter Burns

Aug 22, 2022

CPT 114

Raptor Assignment 4

2. Mac users - create a flowchart using Diagrams.net.  It must contain all the variables, inputs, selection and loop structures and computations. Your output will not look like above, but please be sure you indicate what variables would be used in your output.  

 

Insert a Rectangle symbol (separate from your flowchart) preferable at the top of the page with the same information listed in step 3

Raptor users - Submit your Raptor assignment file (should have a .rap extension) to this Raptor Assignment 4 submissions folder.

 

(5/5)
Attachments:

Expert's Answer

1285 Times Downloaded

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

1285 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

735 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

846 Answers

Hire Me
expert
Husnain SaeedComputer science

937 Answers

Hire Me
expert
Atharva PatilComputer science

882 Answers

Hire Me