SlideShare a Scribd company logo
1 of 3
Download to read offline
ExamTutorials.com
http://www.examtutorials.com
PRG 420 Week 3
http://www.examtutorials.com/course/prg-420-week-3/
Author : cmin
Individual Simple Commission Calculation Program Part 2
Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional
and changed business requirements:
The company has recently changed its total annual compensation policy to improve sales.
A salesperson will continue to earn a fixed salary of 55,000.The current sales target for every
salesperson is 130,000
The sales incentive will only start when 80% of the sales target is met. The current commission
is 15% of total sales.
If a salesperson exceeds the sales target, the commission will increase based on an
acceleration factor. The acceleration factor is 1.50.
The application should ask the user to enter annual sales, and it should display the total annual
compensation.
The application should also display a table of potential total annual compensation that the
salesperson could have earned, in $5000 increments above the salesperson’s annual sales,
until it reaches 50% above the salesperson’s annual sales.
Sample Table: Assuming a total annual sales of $100,000, the table would look like this:
Total Sales
Total Compensation
100,000
105,000
1 / 3
110,000
115,000
120,000
125,000
130,000
135,000
140,000
145,000
150,000
The Java™ application should also meet these technical requirements:
The application should have at least one class, in addition to the application’s controlling class.
The source code must demonstrate the use of conditional and looping structures.
There should be proper documentation in the source code.
Supporting Activity Three Kinds of Loops
Write a 200- to 300-word short-answer response to the following:
There are 3 kinds of loops—for loop, while loop, and do while loop. Under which circumstances
would each kind of loop be more appropriate? Explain your answers using specific examples.
Supporting Activity Loops
2 / 3
Write a 200- to 300-word short-answer response to the following:
Our focus this week is loops.
Select and complete one of the following activities:
Convert the following program from for loop to while loop.
class ArithmeticProgression
{
public static void main (String [] args)
{
int ;
for (int ; i
Powered by TCPDF (www.tcpdf.org)
3 / 3

More Related Content

Similar to Prg 420-week-3

Organization Software Application Portfolio Management PowerPoint Presentati...
Organization Software Application Portfolio Management  PowerPoint Presentati...Organization Software Application Portfolio Management  PowerPoint Presentati...
Organization Software Application Portfolio Management PowerPoint Presentati...SlideTeam
 
APM Powerpoint Presentation Slides
APM Powerpoint Presentation SlidesAPM Powerpoint Presentation Slides
APM Powerpoint Presentation SlidesSlideTeam
 
Week5 Ensure Analysis Is Accurate And Complete
Week5 Ensure Analysis Is Accurate And CompleteWeek5 Ensure Analysis Is Accurate And Complete
Week5 Ensure Analysis Is Accurate And Completehapy
 
Comp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codeComp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codepradesigali1
 
Advanced Computer Programming..pptx
Advanced Computer Programming..pptxAdvanced Computer Programming..pptx
Advanced Computer Programming..pptxKrishanthaRanaweera1
 
University of phoenix acc 220
University of phoenix acc 220University of phoenix acc 220
University of phoenix acc 220Christina Walkar
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7ashhadiqbal
 

Similar to Prg 420-week-3 (9)

Organization Software Application Portfolio Management PowerPoint Presentati...
Organization Software Application Portfolio Management  PowerPoint Presentati...Organization Software Application Portfolio Management  PowerPoint Presentati...
Organization Software Application Portfolio Management PowerPoint Presentati...
 
APM Powerpoint Presentation Slides
APM Powerpoint Presentation SlidesAPM Powerpoint Presentation Slides
APM Powerpoint Presentation Slides
 
Week5 Ensure Analysis Is Accurate And Complete
Week5 Ensure Analysis Is Accurate And CompleteWeek5 Ensure Analysis Is Accurate And Complete
Week5 Ensure Analysis Is Accurate And Complete
 
Comp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codeComp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source code
 
Advanced Computer Programming..pptx
Advanced Computer Programming..pptxAdvanced Computer Programming..pptx
Advanced Computer Programming..pptx
 
Prg 420-week-1
Prg 420-week-1Prg 420-week-1
Prg 420-week-1
 
University of phoenix acc 220
University of phoenix acc 220University of phoenix acc 220
University of phoenix acc 220
 
Summary Account R12 General Ledger
Summary Account R12 General LedgerSummary Account R12 General Ledger
Summary Account R12 General Ledger
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7
 

More from DR Dean Jame

PRG 421 Entire Course
PRG 421 Entire CoursePRG 421 Entire Course
PRG 421 Entire CourseDR Dean Jame
 
Prg 211-week-5-dqs
Prg 211-week-5-dqsPrg 211-week-5-dqs
Prg 211-week-5-dqsDR Dean Jame
 
Prg 211-week-4-dqs
Prg 211-week-4-dqsPrg 211-week-4-dqs
Prg 211-week-4-dqsDR Dean Jame
 
Prg 211-week-3-dqs
Prg 211-week-3-dqsPrg 211-week-3-dqs
Prg 211-week-3-dqsDR Dean Jame
 
Prg 211-week-2-dqs
Prg 211-week-2-dqsPrg 211-week-2-dqs
Prg 211-week-2-dqsDR Dean Jame
 
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...DR Dean Jame
 
Prg 210-week-5-dqs
Prg 210-week-5-dqsPrg 210-week-5-dqs
Prg 210-week-5-dqsDR Dean Jame
 
Prg 210-week-4-dq-2
Prg 210-week-4-dq-2Prg 210-week-4-dq-2
Prg 210-week-4-dq-2DR Dean Jame
 
Prg 210-week-4-dq-1
Prg 210-week-4-dq-1Prg 210-week-4-dq-1
Prg 210-week-4-dq-1DR Dean Jame
 
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...DR Dean Jame
 
Prg 210-week-3-dq-2
Prg 210-week-3-dq-2Prg 210-week-3-dq-2
Prg 210-week-3-dq-2DR Dean Jame
 
Prg 210-week-3-dq-1
Prg 210-week-3-dq-1Prg 210-week-3-dq-1
Prg 210-week-3-dq-1DR Dean Jame
 
Prg 210-week-2-dq-2
Prg 210-week-2-dq-2Prg 210-week-2-dq-2
Prg 210-week-2-dq-2DR Dean Jame
 
Prg 210-week-2-dq-1
Prg 210-week-2-dq-1Prg 210-week-2-dq-1
Prg 210-week-2-dq-1DR Dean Jame
 
Prg 210-week-1-dqs
Prg 210-week-1-dqsPrg 210-week-1-dqs
Prg 210-week-1-dqsDR Dean Jame
 
Prg 210-final-learning-team-assignment-software-development-project
Prg 210-final-learning-team-assignment-software-development-projectPrg 210-final-learning-team-assignment-software-development-project
Prg 210-final-learning-team-assignment-software-development-projectDR Dean Jame
 
Prg 210-entire-course
Prg 210-entire-coursePrg 210-entire-course
Prg 210-entire-courseDR Dean Jame
 
BCOM 275 FINAL EXAM SET 3
BCOM 275 FINAL EXAM SET 3BCOM 275 FINAL EXAM SET 3
BCOM 275 FINAL EXAM SET 3DR Dean Jame
 
BCOM 275 FINAL EXAM SET 2
BCOM 275 FINAL EXAM SET 2BCOM 275 FINAL EXAM SET 2
BCOM 275 FINAL EXAM SET 2DR Dean Jame
 

More from DR Dean Jame (20)

PRG 421 Entire Course
PRG 421 Entire CoursePRG 421 Entire Course
PRG 421 Entire Course
 
Prg 420-week-5
Prg 420-week-5Prg 420-week-5
Prg 420-week-5
 
Prg 211-week-5-dqs
Prg 211-week-5-dqsPrg 211-week-5-dqs
Prg 211-week-5-dqs
 
Prg 211-week-4-dqs
Prg 211-week-4-dqsPrg 211-week-4-dqs
Prg 211-week-4-dqs
 
Prg 211-week-3-dqs
Prg 211-week-3-dqsPrg 211-week-3-dqs
Prg 211-week-3-dqs
 
Prg 211-week-2-dqs
Prg 211-week-2-dqsPrg 211-week-2-dqs
Prg 211-week-2-dqs
 
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...
Prg 210-week-5-individual-assignment-complete-data-structures-arrays-and-modu...
 
Prg 210-week-5-dqs
Prg 210-week-5-dqsPrg 210-week-5-dqs
Prg 210-week-5-dqs
 
Prg 210-week-4-dq-2
Prg 210-week-4-dq-2Prg 210-week-4-dq-2
Prg 210-week-4-dq-2
 
Prg 210-week-4-dq-1
Prg 210-week-4-dq-1Prg 210-week-4-dq-1
Prg 210-week-4-dq-1
 
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...
Prg 210-week-3-individual-assignment-computer-operations-solving-problems-and...
 
Prg 210-week-3-dq-2
Prg 210-week-3-dq-2Prg 210-week-3-dq-2
Prg 210-week-3-dq-2
 
Prg 210-week-3-dq-1
Prg 210-week-3-dq-1Prg 210-week-3-dq-1
Prg 210-week-3-dq-1
 
Prg 210-week-2-dq-2
Prg 210-week-2-dq-2Prg 210-week-2-dq-2
Prg 210-week-2-dq-2
 
Prg 210-week-2-dq-1
Prg 210-week-2-dq-1Prg 210-week-2-dq-1
Prg 210-week-2-dq-1
 
Prg 210-week-1-dqs
Prg 210-week-1-dqsPrg 210-week-1-dqs
Prg 210-week-1-dqs
 
Prg 210-final-learning-team-assignment-software-development-project
Prg 210-final-learning-team-assignment-software-development-projectPrg 210-final-learning-team-assignment-software-development-project
Prg 210-final-learning-team-assignment-software-development-project
 
Prg 210-entire-course
Prg 210-entire-coursePrg 210-entire-course
Prg 210-entire-course
 
BCOM 275 FINAL EXAM SET 3
BCOM 275 FINAL EXAM SET 3BCOM 275 FINAL EXAM SET 3
BCOM 275 FINAL EXAM SET 3
 
BCOM 275 FINAL EXAM SET 2
BCOM 275 FINAL EXAM SET 2BCOM 275 FINAL EXAM SET 2
BCOM 275 FINAL EXAM SET 2
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Prg 420-week-3

  • 1. ExamTutorials.com http://www.examtutorials.com PRG 420 Week 3 http://www.examtutorials.com/course/prg-420-week-3/ Author : cmin Individual Simple Commission Calculation Program Part 2 Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements: The company has recently changed its total annual compensation policy to improve sales. A salesperson will continue to earn a fixed salary of 55,000.The current sales target for every salesperson is 130,000 The sales incentive will only start when 80% of the sales target is met. The current commission is 15% of total sales. If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.50. The application should ask the user to enter annual sales, and it should display the total annual compensation. The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales. Sample Table: Assuming a total annual sales of $100,000, the table would look like this: Total Sales Total Compensation 100,000 105,000 1 / 3
  • 2. 110,000 115,000 120,000 125,000 130,000 135,000 140,000 145,000 150,000 The Java™ application should also meet these technical requirements: The application should have at least one class, in addition to the application’s controlling class. The source code must demonstrate the use of conditional and looping structures. There should be proper documentation in the source code. Supporting Activity Three Kinds of Loops Write a 200- to 300-word short-answer response to the following: There are 3 kinds of loops—for loop, while loop, and do while loop. Under which circumstances would each kind of loop be more appropriate? Explain your answers using specific examples. Supporting Activity Loops 2 / 3
  • 3. Write a 200- to 300-word short-answer response to the following: Our focus this week is loops. Select and complete one of the following activities: Convert the following program from for loop to while loop. class ArithmeticProgression { public static void main (String [] args) { int ; for (int ; i Powered by TCPDF (www.tcpdf.org) 3 / 3