add at least 1 menu to the program. Blue = Validation LoopGreen = Day 1 – Day 7 SalesOrange = Processing Day 1 – Day 7 SalesPurple = the FunctionPseudocode// A program to ask the user to enter

add at least 1 menu to the program.

Blue = Validation Loop

Green = Day 1 – Day 7 Sales

Orange = Processing Day 1 – Day 7 Sales

Purple = the Function

Pseudocode

//A program to ask the user to enter a store’s daily sales, calculate the weekly sales, and display the result.

//Declare all variables

Main

DECLARE Daily Sales, Weekly Sales, Total Amount

DECLARE array Day Sales

Display “Enter the Daily Sales”

Input Daily Sales

Day 1 Sales = Daily Sales

While Day 1 Sales < 2100

            Display “Are You Sure This Is Correct”

            Display “If this Is Correct Click Yes, If Not Click No”

Input Yes

Input No

            Display “Day 1 Goals Were Not Met”

Display “Day 1 Sales”

            End While

Display “Enter the Daily Sales”

Input Daily Sales

Display “Day 2 Sales”

Day 2 Sales = Daily Sales

IF Day 2 sales > $2200

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

            End If

//repeat

Display “Enter the Daily Sales”

Input Daily Sales

Display “Day 3 Sales”

Day 3 Sales = Daily Sales

IF Day 3 sales > $2300

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

                          End If

//repeat

Display “Enter the Daily Sales”

Input Daily Sales

Display “Day 4 Sales”

Day 4 Sales = Daily Sales

IF Day 4 sales > $2400

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

                         End If

//repeat

Display “Enter the Daily Sales”

Input Daily Sales

Display “Day 5 Sales”

Day 5 Sales = Daily Sales

IF Day 5 sales > $2500

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

                          End If

//repeat

Display “Enter the Daily Sales”

Input Daily Sales

Display “Day 6 Sales”

Day 6 Sales = Daily Sales

IF Day 6 sales > $2600

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

                         End If

//repeat

Display “Enter the Daily Sales”

Input Daily Sales

Display Day 7 Sales

Day 7 Sales = Daily Sales

IF Day 7 sales > $2700

Display “Awesome, You Met Your Goal.”

ELSE

Display “Goal Was Not Met”

                        End If

Call CalculateTotalSalesForTheLast7Days()

Display Weekly Sales

                         End

                         //processing all of the sales in the last 7 days into a total number

Calculate Total Sales for the Last 7 Days

Display Weekly Sales

End

//This is a function

Call CalculateTotalSalesForTheLast7Days()

DECLARE Weekly Sales

Weekly Sales = Day 1 Sales+ Day 2 Sales+ Day 3 Sales+ Day 4 Sales+ Day 5 Sales+ Day 6 Sales+ Day  7 Sales = Weekly Sales

Display Weekly Sales

Return

End Module

homeworkhelplocal
Calculate your essay price
(550 words)

Approximate price: $22

How it Works

1

It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.

2

Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.

3

After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.

4

Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!