SlideShare a Scribd company logo
1 of 2
Download to read offline
Mr. Smithofthe Build-Rite ManufacturingCompanyhas asked youto write a C++ programthat calculates shippingcharges for orders. Allorders
are charged a basic shippingrate of$20.00, plus anadditionalrate based onthe quantityofitems shipped and the destination. Your program
should prompt the user to enter the quantityofitems and the destination-shippingregion, and thencalculate a shippingrate. Use a two-dimensional
arrayinyour solution. The shippingrates are as follows:
Quantity
Region 1
Region 2
Region 3
Region 4
Region 5
1
1.00
2.00
3.00
4.00
5.00
2
2.00
4.00
6.00
8.00
10.00
3
2.50
4.50
6.50
8.50
10.50
4
3.00
5.00
7.00
9.00
11.00
5
3.25
5.25
7.25
9.25
11.25
>5
3.50
5.50
7.50
9.50
11.50
Quantity Region
1
Region 2 Region 3 Region 4 Region 5
1 1.00 2.00 3.00 4.00 5.00
2 2.00 4.00 6.00 8.00 10.00
3 2.50 4.50 6.50 8.50 10.50
4 3.00 5.00 7.00 9.00 11.00
5 3.25 5.25 7.25 9.25 11.25
>5 3.50 5.50 7.50 9.50 11.50

More Related Content

What's hot (6)

Reducing Operating Costs - property tax management
Reducing Operating Costs - property tax managementReducing Operating Costs - property tax management
Reducing Operating Costs - property tax management
 
Creating an Invoice in a Spreadsheet_Cosocius Proof of Concept
Creating an Invoice in a Spreadsheet_Cosocius Proof of ConceptCreating an Invoice in a Spreadsheet_Cosocius Proof of Concept
Creating an Invoice in a Spreadsheet_Cosocius Proof of Concept
 
Netflix (NTLX) 20180813
Netflix (NTLX) 20180813 Netflix (NTLX) 20180813
Netflix (NTLX) 20180813
 
Lesson 6 4
Lesson 6 4Lesson 6 4
Lesson 6 4
 
Job order costing
Job order costingJob order costing
Job order costing
 
Ribbons and bows report
Ribbons and bows reportRibbons and bows report
Ribbons and bows report
 

Similar to Mr. Smith of the Build-Rite Manufacturing Company has asked you to write a C++ program that calculat

Porfolio of Setfocus work
Porfolio of Setfocus workPorfolio of Setfocus work
Porfolio of Setfocus work
KevinPSF
 
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docxBrief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
aman341480
 
aPart 5 Corporate Valuation and GovernanceEasy Problem.docx
aPart 5 Corporate Valuation and GovernanceEasy Problem.docxaPart 5 Corporate Valuation and GovernanceEasy Problem.docx
aPart 5 Corporate Valuation and GovernanceEasy Problem.docx
justine1simpson78276
 
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
Kyle Moolman
 
Resume_YasirGhauri_HOD
Resume_YasirGhauri_HODResume_YasirGhauri_HOD
Resume_YasirGhauri_HOD
Yasir Ghauri
 
MISY 3433 Java Applications in Business – Spring 2021 I
MISY 3433 Java Applications in Business – Spring 2021  IMISY 3433 Java Applications in Business – Spring 2021  I
MISY 3433 Java Applications in Business – Spring 2021 I
IlonaThornburg83
 
#1Listed below are items that are commonly accounted for differe.docx
#1Listed below are items that are commonly accounted for differe.docx#1Listed below are items that are commonly accounted for differe.docx
#1Listed below are items that are commonly accounted for differe.docx
tienmixon
 
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docxLab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
smile790243
 
By Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creatBy Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creat
TawnaDelatorrejs
 
Q1Flinders Company has two service departments, Factory Administra.docx
Q1Flinders Company has two service departments, Factory Administra.docxQ1Flinders Company has two service departments, Factory Administra.docx
Q1Flinders Company has two service departments, Factory Administra.docx
amrit47
 

Similar to Mr. Smith of the Build-Rite Manufacturing Company has asked you to write a C++ program that calculat (20)

Porfolio of Setfocus work
Porfolio of Setfocus workPorfolio of Setfocus work
Porfolio of Setfocus work
 
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docxBrief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
Brief Exercise 18-3Travel Inc. sells tickets for a Caribbean cruis.docx
 
COMP 122 Entire Course NEW
COMP 122 Entire Course NEWCOMP 122 Entire Course NEW
COMP 122 Entire Course NEW
 
aPart 5 Corporate Valuation and GovernanceEasy Problem.docx
aPart 5 Corporate Valuation and GovernanceEasy Problem.docxaPart 5 Corporate Valuation and GovernanceEasy Problem.docx
aPart 5 Corporate Valuation and GovernanceEasy Problem.docx
 
Sap sd configuration
Sap sd configurationSap sd configuration
Sap sd configuration
 
What's New in Deltek Vision 7.3 | Deltek Vision User Group Meeting
What's New in Deltek Vision 7.3 | Deltek Vision User Group MeetingWhat's New in Deltek Vision 7.3 | Deltek Vision User Group Meeting
What's New in Deltek Vision 7.3 | Deltek Vision User Group Meeting
 
Qpost Apps by Thomas
Qpost Apps by ThomasQpost Apps by Thomas
Qpost Apps by Thomas
 
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
RIB CCS Candy Standard Stand Alone Proposal_ZA_40th Jubilee Promotion_(1 user...
 
Resume_YasirGhauri_HOD
Resume_YasirGhauri_HODResume_YasirGhauri_HOD
Resume_YasirGhauri_HOD
 
MISY 3433 Java Applications in Business – Spring 2021 I
MISY 3433 Java Applications in Business – Spring 2021  IMISY 3433 Java Applications in Business – Spring 2021  I
MISY 3433 Java Applications in Business – Spring 2021 I
 
SAP JVA ( Joint Venture Accounting )
SAP JVA ( Joint Venture Accounting )SAP JVA ( Joint Venture Accounting )
SAP JVA ( Joint Venture Accounting )
 
Murugan_Resume_1.8
Murugan_Resume_1.8Murugan_Resume_1.8
Murugan_Resume_1.8
 
#1Listed below are items that are commonly accounted for differe.docx
#1Listed below are items that are commonly accounted for differe.docx#1Listed below are items that are commonly accounted for differe.docx
#1Listed below are items that are commonly accounted for differe.docx
 
Capital budgeting techniques in project management
Capital budgeting techniques in project management Capital budgeting techniques in project management
Capital budgeting techniques in project management
 
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docxLab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
Lab 3 Cover SheetNameAdders and Two’s ComplementDateGrade .docx
 
Systems imlementation for Kasetsart University
Systems imlementation for Kasetsart University Systems imlementation for Kasetsart University
Systems imlementation for Kasetsart University
 
By Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creatBy Analyzing and Utilizing Jean Watson theory of caring, creat
By Analyzing and Utilizing Jean Watson theory of caring, creat
 
NGA deployment costs
NGA deployment costsNGA deployment costs
NGA deployment costs
 
Financial Management Slides Ch 12
Financial Management Slides Ch 12Financial Management Slides Ch 12
Financial Management Slides Ch 12
 
Q1Flinders Company has two service departments, Factory Administra.docx
Q1Flinders Company has two service departments, Factory Administra.docxQ1Flinders Company has two service departments, Factory Administra.docx
Q1Flinders Company has two service departments, Factory Administra.docx
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
Elizabeth Walsh
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 

Recently uploaded (20)

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 

Mr. Smith of the Build-Rite Manufacturing Company has asked you to write a C++ program that calculat

  • 1. Mr. Smithofthe Build-Rite ManufacturingCompanyhas asked youto write a C++ programthat calculates shippingcharges for orders. Allorders are charged a basic shippingrate of$20.00, plus anadditionalrate based onthe quantityofitems shipped and the destination. Your program should prompt the user to enter the quantityofitems and the destination-shippingregion, and thencalculate a shippingrate. Use a two-dimensional arrayinyour solution. The shippingrates are as follows: Quantity Region 1 Region 2 Region 3 Region 4 Region 5 1 1.00 2.00 3.00 4.00 5.00 2 2.00 4.00 6.00 8.00 10.00 3 2.50 4.50 6.50 8.50 10.50 4 3.00 5.00 7.00 9.00 11.00 5 3.25 5.25 7.25
  • 2. 9.25 11.25 >5 3.50 5.50 7.50 9.50 11.50 Quantity Region 1 Region 2 Region 3 Region 4 Region 5 1 1.00 2.00 3.00 4.00 5.00 2 2.00 4.00 6.00 8.00 10.00 3 2.50 4.50 6.50 8.50 10.50 4 3.00 5.00 7.00 9.00 11.00 5 3.25 5.25 7.25 9.25 11.25 >5 3.50 5.50 7.50 9.50 11.50