Create a program for a ledger''s furniture store

Assignment Help Programming Languages
Reference no: EM131062050

Programming Project Assessment

Instructions: The following programming problem can be solved by a program that uses three basic tasks-Input Data, Process Data, and Output Results. To process the data, use file, looping, array, decision, accumulating, counting, find min/max and sorting techniques. First, create an MS Word document containing a hierarchy chart and a data flow diagram to organize your program modules. Second, create a pseudocode program using Notepad++ to solve this problem. Third, create the program with RAPTOR. You MUST use Modular Programming techniques by using Sub Modules (Sub Charts in RAPTOR) in your program. Your "main" module should not be very large. NEVER call "main" from inside your program. Also, do not use "recursion" in this program (submodules that call themselves). You are onlyallowed to use looping techniques to repeat sections of your submodules.

Problem Statement

Ledger's Furniture Store has 10 salespeople. Ledger's wants to produce a combined monthly sales report for all salespeople. Ledger's wants you to write a program that will allow them to enter data in any order, save the unsorted data to a file, and then produce a file in alphabetical order by name of the salespeople. The unsorted output file should be named "sales_unsorted.txt" and the sorted file should be named "sales_sorted.txt".

Your unsorted file output should include:

- A list of the salespeople's names and the monthly sales for each of them.

Your sorted file output should include:

- A list of the salespeople's name and the monthly sales for each of them.

- At the bottom of the report, list the following:

o The total combined sales for all salespeople.

o The average sales for all salespeople.

o The salesperson with the lowest sales for the month.

o The salesperson with the highest sales for the month.

You must submit the unsorted and sorted files with your RAPTOR program to show that your program ran correctly.

Here is your sample test data to use with your program. This is to be typed in as user input.

Salesperson

Monthly Sales

Joan

$1,525

Bob

$1,935

Lisa

$2,550

Tina

$1,745

Corey

$3,025

Chummily

$1,420

Rick

$4,560

Nancy

$2,645

Holly

$1,489

Frank

$4,450

Do not worry about the formatting of your output files since RAPTOR does not support formatting controls.

The unsorted file should look similar to this:

The sorted file should look similar to this:

Joan Sales:

$1,525

Bob Sales:

$1,935

Bob Sales:

$1,935

Chummily Sales:

$1,420

Lisa Sales:

$2,550

Corey Sales:

$3,025

Tina Sales:

$1,745

Frank Sales:

$4,450

Corey Sales:

$3,025

Holly Sales:

$1,489

Chummily Sales:

$1,420

Joan Sales:

$1,525

Rick Sales:

$4,560

Lisa Sales:

$2,550

Nancy Sales:

$2,645

Nancy Sales:

$2,645

Holly Sales:

$1,489

Rick Sales:

$4,560

Frank Sales:

$4,450

Tina Sales:

$1,745

Other Requirements:

======================

Total Sales: $ XXXXX

Average Sales: $ XXXX

Salesperson with Lowest Sales: name

Salesperson with Highest Sales: name

 Documentation: Use the "Comments" feature to document each symbol in the flowchart. You do this by right clicking the symbol

and selecting "Comment."

Be sure to identify the data type of each variable used in your comments.

Be sure to explain what each formula and function does.

Be sure to explain what each of the other symbols in the flowchart does in a comment.

- Test and debug your Program: Use the sample input data, run the program, then check your answers with a calculator or Excel. If something did not match up, then fix your program.

- Program must execute and produce correct output.

- Read this page again to be sure you covered all requirements.

- Use Object-Oriented Programming Techniques learned.

Submission Instructions:

- You will submit 5 files for this project. You must submit the Hierarchy Chart and Data Flow Diagram in a MS Word or PDF file (both in same document), a Pseudocode Program in a Notepad++ file, and a Flowchart (from RAPTOR) file. Your RAPTOR file will be the .rap file created when you save your project.

- Name the RAPTOR file (replacing LastName and FirstInitial with YOUR name):

LastName_FirstInitial_Program_4.rap (example: Smith_J_Program_4.rap).

- You must also submit the unsorted and sorted files (sales_unsorted.txt and sales_sorted.txt) to show that your program ran correctly.

- Attach your files individually (no zip files) to your assignment submission upload. If you find that you made an error and want to resubmit before the due date, you may do so.

Reference no: EM131062050

Questions Cloud

Independent variable of the activity : What is the independent variable of the activity? What is the dependent variable of the activity? What variables were controlled during the activity?
Write a program to read in a file : You will write a program to read in a file and found out how many groupings (blobs) of characters there are in the file. The image below is a sample input file. Note that it contains 6 groupings of characters or blobs.
Determine the required thickness to the nearest millimeter : Solve the preceding problem if the internal pressure is 3.75 MPa, the diameter is 19 m, the yield stress is 570 MPa, and the factor of safety is 3.0
Estimate the concentration : The pH of .01 M H3PO4(aq) is 2.2. Estimate the concentration of PO4^-3 in the solution. For H3PO4, the values of Ka1, Ka2, and Ka3 are 7.6E-3, 6.2E-8, and 2.1E-13 respectively.
Create a program for a ledger''s furniture store : Create a program for a Ledger's Furniture Store. Create a pseudocode program using Notepad++ to solve this problem. Third, create the program with RAPTOR.
Find the tensile force f in each bolt and the tensile stress : Find the tensile force F in each bolt and the tensile stress σ in the viewport if the radius of the hemisphere is 7.0 in. and its thickness is 1.0 in
Series of business transactions : Rachel's parents live on a farm. Her mother decided to try and make it a working farm. She raised 60 goats, then entered into a series of business transactions.
Define search and seizure : Define search and seizure. Examine & explain how search and seizure may apply to stop-and-frisk, automobile search rules, and requirements regarding border & regulatory searches.
Determine the hydronium-ion concentration : 1. Determine the hydronium-ion concentration for a solution that has a pH of 0.17. 2. A solution of perchloric acid has a concentration of 3.00 x 10^-4 mol/L. Determine the pH of this solution.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to compute salary of employee

Write a program to compute the salary of an employee according to his/her grade assigned by employer. You should declare class named CalSalary whose private data members will be employee.

  Program that asks for user-s age

Write a program that asks for user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote".

  Program to find if number input by user is palindrome or not

Write down the program which uses the method called palindrome ( ) to find out if number input by user is a palindrome or not. For instance 1221 is palindrome as it can be read same way forwards and backwards.

  Write a prolog relation subsequence

Write a Prolog relation remove(E,L,R) that is true if R is the list which results from removing one instance of E from list L. The relation is false if E isn't a member of L.

  Write a program to create an array called first

Write a program to create an array called first, initialized with your first name followed by a space, and then your last name in the ROM space. The main code should read each element of this array; convert it to uppercase and save it in an array ..

  Create two global varibles to declare an empty array

Need to create two global varibles. The first currentTab, which will reference the current menu tab being dispalyed with a initial value of null, the second variable is maxZ which will store the z-index and it's initial value is 1.

  Write the program by declaring one-dimensional array

Write the program by declaring one-dimensional array which could be used to hold data for grades (int type) of 10 students. The program will prompt user for numeric grades.

  Unix programming

UNIX Programming

  Implement a tic tac toe game in any programming language

You have to do this assignment to make a game in computer programming language tic tac the boxes of the game should be interactive and in red and green color

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Create memo to grace to outline purposes of organization

Create a memo to Grace in which you outline purposes of organization and costs and benefits of becoming a member.

  Compare all trees to all other trees.

Each line of values in input file "tree2Data.txt" represents one linear binary tree, where ' _ ' represents a no value node.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd