Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

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 a

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

Show more
  • @
  • 52 orders completed
ANSWER

Tutor has posted answer for $30.00. See answer's preview

$30.00

******

Click here to download attached files: student.java.txt
Click here to download attached files: student.java.txt
or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question