The Problem: Topics: Switch statement, Loops, Functions, Creating Program-Defined Value-Returning Functions,  Calling a Function, Void Functions  Write a program in C++ involving a Switch statement from the 4 program given below :  1. Create a Program that allows the user to have a switch statement menu from your following BOM  and Info. (5 Materials per BOM)  Use 12% as your tax for Manufacturing and Construction BOMs. (VAT Registered)  Use 3% as your tax for Electrical BOMs. (Example as Non-VAT Registered)    Program Requirement:    1. The program should compute for the :    Total added tax  Net total Amount = Amount without tax   Gross total amount = Amount with tax     2. Quantity should be asked for every material given. 3. Create an IPO chart and Desk Checking Company name               Date :   LastName, FirstName, M.I.  LastName, FirstName, M.I.  LastName, FirstName, M.I.  4. The  program  should  use  both  VR  Functions  and  Void  Functions  for  the  3  BOMs

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Use Dev C++


The Problem:


Topics: Switch statement, Loops, Functions, Creating Program-Defined Value-Returning Functions, 
Calling a Function, Void Functions 
Write a program in C++ involving a Switch statement from the 4 program given below : 
1. Create a Program that allows the user to have a switch statement menu from your following BOM 
and Info. (5 Materials per BOM) 
Use 12% as your tax for Manufacturing and Construction BOMs. (VAT Registered) 
Use 3% as your tax for Electrical BOMs. (Example as Non-VAT Registered) 
 
Program Requirement: 
 
1. The program should compute for the : 
 
Total added tax 
Net total Amount = Amount without tax  
Gross total amount = Amount with tax  
 
2. Quantity should be asked for every material given.

3. Create an IPO chart and Desk Checking
Company name               Date :  
LastName, FirstName, M.I. 
LastName, FirstName, M.I. 
LastName, FirstName, M.I. 

4. The  program  should  use  both  VR  Functions  and  Void  Functions  for  the  3  BOMs. 

Choose from these option:
1. Bills of Materilas for Construction
2. Bills of Materilas for Electrical
3. Bills of Materilas for Manufacturing
4. Information of the Creators
Please enter the number you want to select :
Light Bulb(15watts)
A light bulb produces light from electricity. In addition to lighting a
P250
darkspace, they can be used to show an electronic device is on, to direct
traffic, for heat, and for many other purposes.
Electrical Tape(19x20mm) P70
Electrical tape is a type of pressure-sensitive tape used to insulate
electrical wires and other materials that conduct electricity.
Circuit Breaker
Circuit breaker is an automatically operated electrical switch designed to
P2000
protect an electrical circuit from damage caused by excess current from an
overload or short circuit.
Junction Box
P40
Junction boxes are metal or plastic enclosures used as housings for wiring
connections. The connections within are called branch circuits and usually
represent the end of a conduit run.
Flexible Hose(per meter)P20
Flexible hoses have been designed to have greater strength and durability than
traditional hoses with the addition of a layer of stainless steel braiding.
Enter the (QTY) :
Fluorescent Tube
Light Bulb
Electrical Tape
Circuit Breaker
Junction Box
Flexible Hose
(QTY) : 3
(QTY) : 2
(QTY) : 1
(QTY) : 4
(QTY) : 1
(QTY) : 2
Total Added Tax
Net Total Amount
Gross Total Amount : P10150
: P304.5
: P9845.5
Would you like to return to the main menu? (Y/N): Y
Transcribed Image Text:Choose from these option: 1. Bills of Materilas for Construction 2. Bills of Materilas for Electrical 3. Bills of Materilas for Manufacturing 4. Information of the Creators Please enter the number you want to select : Light Bulb(15watts) A light bulb produces light from electricity. In addition to lighting a P250 darkspace, they can be used to show an electronic device is on, to direct traffic, for heat, and for many other purposes. Electrical Tape(19x20mm) P70 Electrical tape is a type of pressure-sensitive tape used to insulate electrical wires and other materials that conduct electricity. Circuit Breaker Circuit breaker is an automatically operated electrical switch designed to P2000 protect an electrical circuit from damage caused by excess current from an overload or short circuit. Junction Box P40 Junction boxes are metal or plastic enclosures used as housings for wiring connections. The connections within are called branch circuits and usually represent the end of a conduit run. Flexible Hose(per meter)P20 Flexible hoses have been designed to have greater strength and durability than traditional hoses with the addition of a layer of stainless steel braiding. Enter the (QTY) : Fluorescent Tube Light Bulb Electrical Tape Circuit Breaker Junction Box Flexible Hose (QTY) : 3 (QTY) : 2 (QTY) : 1 (QTY) : 4 (QTY) : 1 (QTY) : 2 Total Added Tax Net Total Amount Gross Total Amount : P10150 : P304.5 : P9845.5 Would you like to return to the main menu? (Y/N): Y
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY