Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, you will create a Raptor program written in pseudocode. Include the flowchart. Scenario: You work as the night manager for a local

In this assignment, you will create a Raptor program written in pseudocode. Include the flowchart.

Scenario: You work as the night manager for a local grocery store chain. One of your duties includes to go to several store locations at closing time to collect cash and checks on hand at the end of the day. After collecting, you must record how much money (specifically bill denominations) was collected from each store and then calculate the grand total. You currently are counting by hand, using a simple calculator and recording this in a notebook. After being in this SDEV120 course, you know that you can create a program to help you with this nightly task. You know that if this is successful, you can promote this to the other managers as well as other local stores that have chains, so you want to create proper documentation.

The program will do the following:

- Collect check amounts, if there are any available, for each store.

- Collect cash amounts by denominations for each store, including coins, if there are any.

- Display the total amount, including cash and checks, for each store.

- Display the total amount of cash and checks collected from all store.

- Discuss problems that you have encountered since the project was assigned.

The documentation should focus on the following:

- Addressing and solving the problem by following the steps of the program development cycle. Include a data dictionary table listing all variables along with their datatypes that will be used for this program. Discuss your approach to securing your code from improper data. Use Microsoft Word to complete this part of your assessment.

- With good programming style, code the program using Raptor in a way that enhances readability and ease of use, including the appropriate use of internal documentation (comments) and external documentation (user friendly outputs).

Incorporate defensive programming to make sure that the user is inputting valid data.

Implement a menu-driven program to help with collecting data.

Use an array to capture the totals for each store location. Use correctly nested loops to capture the data from each store and then calculate the grand total collected from all stores.

- Creating and documenting test data (in your word document) to test the program to ensure that it is error free.

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

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions