Write a program to show that your program ran correctly

Assignment Help Programming Languages
Reference no: EM131759893

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 to organize your program modules. Second, create a RAPTOR flowchart to solve this problem. Third, create the program with Python. You MUST use Modular Programming techniques by using Sub Modules 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 only allowed 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 "salesunsorted.txt" and the sorted file should be named "salessorted.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

$ 1525

Bob

$ 1935

Lisa

$ 2550

Tina

$ 1745

Corey

$ 3025

Chummily

$ 1420

Rick

$ 4560

Nancy

$ 2645

Holly

$ 1489

Frank

$ 4450

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: $ 1525
Bob Sales: $ 1935
Lisa Sales: $ 2550
Tina Sales: $ 1745
Corey Sales: $ 3025
Chummily Sales: $ 1420
Rick Sales: $ 4560
Nancy Sales: $ 2645
Holly Sales: $ 1489
Frank Sales: $ 4450

         

Bob Sales: $ 1935
Chummily Sales: $ 1420
Corey Sales: $ 3025
Frank Sales: $ 4450
Holly Sales: $ 1489
Joan Sales: $ 1525
Lisa Sales: $ 2550
Nancy Sales: $ 2645
Rick Sales: $ 4560
Tina Sales: $ 1745
-------------------------------
Total Sales: $ XXXXX
Average Sales: $ XXXX
Salesperson with Lowest Sales: name Salesperson
with Highest Sales: name

Other Requirements:

• Documentation: Use comments in your final Python program to explain your code. Use the "Comments" feature in RAPTOR to document each symbol in the flowchart. 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.

• See the Programming Project Rubric for grading principles.

Attachment:- Ledgers-Furniture-Store.rar

Reference no: EM131759893

Questions Cloud

Discuss the primary role of the DSMB : Discuss the primary role of the DSMB and how that at times can cause tensions regarding maintaining "study integrity"
Promotions for small business : M3A2 - Promotions for Small Business and prepare and submit the term paper whose topic and outline were approved by your instructor in Module
Explain the importance of encryption : Suppose an executive-level manager asked you to explain the importance of encryption. Any current topic or article related to penetration techniques.
Compute white deferred income taxes : White Company owns 60% of Cody Company. Separate tax returns are required. For 2012, White's operating income (excluding taxes and any income from Cody).
Write a program to show that your program ran correctly : Write a 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.
What deferred income tax liability arising : Reggie, Inc. owns 70 percent of Nancy Corporation. During the current year, Nancy reported earnings before tax of $100,000 and paid a dividend of $30,000.
Pre-commissioning expenses of a plant and equipment : If it was known that capital expenditures are for fixed assets by default expected to be productive assets in the long run such as leasehold land improvements.
Why should managers be concerned with informal networks : How can informal networks be utilized in the context of managerial interviewing - The uses of informal and formal networks in managerial business communication
What other factors should three rivers consider : What other factors should Three Rivers consider in deciding whether to purchase the new computer system

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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