(5/5)

# You have been tasked with writing a program for an automotive junk yard

INSTRUCTIONS TO CANDIDATES

Raptor Assignment 2

Instructions

Assignment 2 - Automotive Junk Yard Problem

(Program based on a 'Selection' structure)

You have been tasked with writing a program for an automotive junk yard. They want to encourage their customers to make large purchases (\$1000 or more). To do this, they have set up a discount system for their customers to use. If the customer orders \$1000 or more, they get 15% off their order. Additionally, sales tax is 8%, but if a customer is over 70 years old their sales tax rate is only 1%.

You can ask if the customer is over 70 (yes or no) or take in their actual age and compare it to the cutoff but not both.

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

Initial amount of the order

Total amount of discount

The subtotal (initial order minus the discount)

The amount of sales tax

Grand total

Read Chapter 3, ‘Evaluating Boolean Expressions to make Comparisons, Pages 68 - 100, from the textbook and review the videos.

1. Using 'Raptor', develop a runnable flowchart based on the stated problem. It must contain all the variables, inputs, computations, and output:

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

Name

Course

Date

Assignment number

Example:

John Doe

July 11, 2023

CPT 114

Raptor Assignment 1

Mac users - create a flowchart using Diagrams.net.  It must contain all the variables, inputs, 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 2 submissions folder.

(5/5)

## 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

Hire Me

Hire Me