Reminder: Anyone who turns in work that is not their own in this class will receive a grade of “permanent F” for the class. CIS 2110 Project 1...

1 answer below »
I am wanting help on how to make a Pseudocode.



Reminder: Anyone who turns in work that is not their own in this class will receive a grade of “permanent F” for the class. CIS 2110 Project 1 Name:_________________________________________________________ Problem Description: The Colorado Health Protection Corporation (CHPC) sells personal protective gear to hospitals and medical practices (Physicians, Dentists, etc.) in Colorado, Wyoming, and Utah. CHPC needs a sales report of the sales for each day, and your job is to write program that will take sales data from the user, aggregate it, and produce a report.  The report should begin by asking the user to input the state, sale date, and sales tax rate for the given state- this data should then be displayed back to the user only once- this is the report “header”. Then the report will display an output line for each sale showing the transaction ID, the pre-tax subtotal, and the after-tax transaction amount paid by the customer.   After all sales records are entered and displayed, the user should enter -1 to indicate they are done entering sales information, and then a report summary should display the total subtotal amount, the total post-tax transaction amount and the average post-tax transaction amount.  The summary must also identify the "sale with the highest post-tax transaction amount" by displaying the highest post-tax transaction amount and associated transaction ID. In the event of multiple instances of the largest post-tax sale amount only the first instance should be reported. Note that the pre-tax subtotal amount is the “listed price”- similar to a “MSRP- Manufacturer’s Suggested Retail Price”. The post-tax sale amount is the actual amount of the sale after taxes have been applied- (see the formulas below). The sales tax rate will vary by state, so it is an input field. The state sales tax rate should be INPUT as a decimal. So- if sales tax is 11%, the user should input 0.11 All monetary inputs should be displayed with two decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* All monetary outputs should be displayed with the decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* Just to be clear- the sales data for each state is entered as a batch process at the end of the day. Users of the program at CHPC will enter the data which consists of the state, sale date and sales tax rate (these three fields are input once) followed by each transaction record containing the transaction ID and pre-tax subtotal amount.  Users will enter -1 as the sale ID when they want to exit the program and prompt the output of the final report (which consists of the total subtotal amount, the total post-tax transaction amount, the average transaction amount, the highest post-tax sale amount and the associated sale ID. The average post-tax transaction amount is determined by dividing the total post-tax transaction amount by the number of transactions that day. *Formatting considerations such as using dollar signs ($), percentage signs (%), and decimal places only need to be considered when you are actually programming- you do not need to consider these requirements when writing the human-level or program-level walk-throughs, the hierarchy chart, the flow-chart, or the pseudocode. At this time, the program only needs to deal with a single state- but you need to let the user specify which state they want to input the data for.  Each store has a $15,000 sale subtotal limit for any one sale. If a sale has a sale subtotal amount of more than $15,000, the program should prompt the user for a sale subtotal amount less than $15,000. A subset of data for a typical day is given for you to test your models. CIS 2110 Project #1 Test Data CHPC Daily Transactions  State: Colorado  Date: March 17, 2021 State tax rate: 4.5% Trasaction ID Sale subtotal C101 1243.56 C202 4321.10 C303 6789.78 C404 1111.11 C505 7654 -1 Deliverables for Project 1 Develop the Implementation Model using Pseudocode and make certain you: Have a minimum of five modules in your pseudocode (a deduction will occur if there are fewer than five modules).  It is recommended that you look at the Essential Model for this problem to help divide the logic into modules. Your project should be in Microsoft Word format. For an example of implementing pseudocode, be sure to watch my youtube video: https://youtu.be/DvJxAVs9tWE Notes: If you have previous experience with programming concepts such as arrays and lists, please avoid using them in this problem. Stick with the concepts discussed SO FAR in this course. (There will be plenty of opportunity later in the course to demonstrate your sophistication). Tips for understanding project 1 The "order of operations" of what is supposed to happen for the problem is as follows... 1) A user enters the state, the date, and the state sales tax rate. The sales tax rate would be different for each state, so you need to let the user enter it- you don’t want it “hard coded”. 2) The program will output the state, date, and sales tax rate. 3) The user will input the transaction ID. 4) If the transaction ID is -1, the program should output the summary numbers (the final report). 5) If the transaction ID is NOT -1 (the kill flag), the program should prompt the user to input the pre-tax subtotal for that transaction. 6) The after-tax transaction amount is equal to the pre-tax subtotal amount multiplied by (1 + tax rate). So if the pre-tax subtotal amount is $1000 and the tax rate is 5%, the post-tax transaction amount is equal to: 1000 * (1 + 0.05) Which evaluates as: 1000 * 1.05 Which evaluates as: $1050 7) The program should calculate relevant values (total pre-tax subtotal amount, total after-tax transaction amount, etc.) 8) The program should then ask the user for the next sale ID (return to step 3 and start the process over again…) Page of CHPC Hierachy Chart CHPC Processing Sale Date State Sale Tex Rate State Input Sale date Sales Tax Rate Transaction ID Report Transaction Amount Subtotal Exit
Answered 1 days AfterOct 10, 2021

Answer To: Reminder: Anyone who turns in work that is not their own in this class will receive a grade of...

Neha answered on Oct 11 2021
119 Votes
Start
Input ()
{    
    Ask input from user for state, sale date, sales tax rate
}
Display ()
{    
    
Display State
Display sales date
Display sales tax rate
}
Show ()
{
Transaction Id
Display Pre-tax subtotal
Display After tax transaction amount
}
Transaction ()
{
Ask user to enter...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here