Question

First and foremost, I'm referencing this flowchart and code located here and revising it to fit...

First and foremost, I'm referencing this flowchart and code located here and revising it to fit the needs of the instructions below.

Here is the link:

https://www.chegg.com/homework-help/questions-and-answers/hello-please-help-thanks-business-manager-reassessed-needs-website-design-determined-would-q39653574?trackid=EvMGo580

The business updated its website program design request with a few more features to fit its needs.

Revise the website program to reflect the following changes:

  • Prompt the sales manager for a number of months
  • Allow the sales manager to input the number of months
  • Use a loop to prompt the sales manager for the sales amounts based upon the number of months and store the amounts in an array. Keep a running total of the sales amounts.
  • Display the total sales
  • Find the highest sales amount in the array
  • Display the highest sales amount

Create a 1/2- to 1-page document containing pseudocode based on the revised program needs.

Start

Get TotalMonth

Set MonthCount to 0

Set TotalSales to 0

Set Bonus to 0

While MonthCount < TotalMonth

CurrentSales to 0

Get CurrentSales

Add CurrentSales to TotalSales

Set sum to TotalSales

Add Monthly count to 1

IF TotalSales >10,000

Set Bonus to BonusAmount

Print TotalSales and TotalMonths

Print Bonus

End

Input

            TotalMonth

CurrentSales per month

Output

TotalSales

TotalMonths

Bonus

Create a 1- to 2-page flowchart based on the algorithm for the revised program needs.

Homework Answers

Answer #1

Function Main
Declare Integer Months, i, total, highest
  
Input Months
Assign total = 0
For i = 0 to Months-1
Output "Enter sales"
Input sales[i]
Assign total = total+sales[i]
End
Assign highest = sales[0]
For i = 0 to Months-1
If sales[i]>highest
Assign highest = sales[i]
End
End
Output "Highest sales ="
Output highest
End

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
This is a link referencing this flowchart and code located here and revising it to fit...
This is a link referencing this flowchart and code located here and revising it to fit the needs of the instructions below. Here is the link: https://www.chegg.com/homework-help/questions-and-answers/hello-please-help-thanks-business-manager-reassessed-needs-website-design-determined-would-q39653574?trackid=EvMGo580 The business updated its website program design request with a few more features to fit its needs. Revise the website program to reflect the following changes: Prompt the sales manager for a number of months Allow the sales manager to input the number of months Use a loop to prompt the sales manager...
In the previous assessment, you used a static set of named variables to store the data...
In the previous assessment, you used a static set of named variables to store the data that was entered in a form to be output in a message. For this assessment, you will use the invitation.html file that you modified in the previous assessment to create a more effective process for entering information and creating invitations for volunteers. Rather than having to enter each volunteer and create an invitation one at a time, you will create a script that will...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the codes below. Requirement: Goals for This Project:  Using class to model Abstract Data Type  OOP-Data Encapsulation You are asked to write an app to keep track of a relatively small music library. The app should load song information from a data file once the app is started. It should allow user to view, add, remove, and search for songs. The app should...
CASE 3.2 Horizon Consulting Patti Smith looked up at the bright blue Carolina sky before she...
CASE 3.2 Horizon Consulting Patti Smith looked up at the bright blue Carolina sky before she entered the offices of Horizon Consulting. Today was Friday, which meant she needed to prepare for the weekly status report meeting. Horizon Consulting is a custom software development company that offers fully integrated mobile application services for iPhonetm, Androidtm, Windows Mobile® and BlackBerry® platforms. Horizon was founded by James Thrasher, a former marketing executive, who quickly saw the potential for digital marketing via smartphones....
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...