Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help in turning this pseudocode into a java program that can be executed in cmd prompt. ou want to do EDIT IN WORD

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

I need help in turning this pseudocode into a java program that can be executed in cmd prompt.

ou want to do EDIT IN WORD P Find Normal No Spacing Heading 1 Heading 2 Heading 3 e Replace Styles Editing Paragraph A retail company assigns a s5000 store bonus if monthly sales are more than $100, 000; otherwise a $500 store bonus is awarded. Additionally, they are doing away with the previous day off program and now using a percent of sales increase to determine if employees get individual bonuses. If sales increased by at least 49 then all employees get a $50 bonus. If they do not, then individual bonuses are . Step l: To accommodate the changes to the program, create the additional variables needed. Create a variable named storeAmount to hold the store bonus amount. Create a variable named empAmount to hold the individual bonus amount. Create a variable named saleeincrease to hold the percent of increase. //Declare local variables Declare Real monthlysales Declare Real ampamount.() Declare Real saleaIncreaseo Declare Real-ABR???(-), Step 2: The first module in the program is getSales0. Since this is still required, leave this module as is. This module should be written as follows: //MODULE 1 //this module takes in the required user input Module getsales (Real Ref menthlysalee Display "Enter the total sales for the month." Input nonthlysales End Module Step 3: The second module in the program was isBonus0. Since there are two types of bonuses now, rename this module and the module call to stoteBonuso. Write an if then else statement

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Describe early attempts to use traits to conceptualize personality.

Answered: 1 week ago

Question

Define sampling, sample population, and sample size.

Answered: 1 week ago