SlideShare a Scribd company logo
1 of 1
Make sure you make this code for C++ (CLION) and also make sure you start with this:
#include <stdio.h>
16.2 Program 2 - Ditterent Category Employee Payment Application Write a program to
compute the weekly pay for each employee. You do not know the number of employees in
advance. Each type of employee has its own pay code: Managers have paycode 1 , hourly
workers have code 2 , commission workers have code 3 and pieceworkers have code 4. Use a
switch to compute each employee's pay based on that employee's paycode. Within the switch,
prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to
calculate each employee's pay based on that employee's paycode.

More Related Content

More from EvandWYAlland

More from EvandWYAlland (20)

Mendel studied seven (what he termed) -characteristics- of pea plants.docx
Mendel studied seven (what he termed) -characteristics- of pea plants.docxMendel studied seven (what he termed) -characteristics- of pea plants.docx
Mendel studied seven (what he termed) -characteristics- of pea plants.docx
 
Mendel's dihybrid crosses demonstrated that Group of answer choices al.docx
Mendel's dihybrid crosses demonstrated that Group of answer choices al.docxMendel's dihybrid crosses demonstrated that Group of answer choices al.docx
Mendel's dihybrid crosses demonstrated that Group of answer choices al.docx
 
Meredith Peters and Sebastian Bunsen were married for 10 years and sep.docx
Meredith Peters and Sebastian Bunsen were married for 10 years and sep.docxMeredith Peters and Sebastian Bunsen were married for 10 years and sep.docx
Meredith Peters and Sebastian Bunsen were married for 10 years and sep.docx
 
Menstruation is triggered by a- a- increase in the level(s) Estrogen b.docx
Menstruation is triggered by a- a- increase in the level(s) Estrogen b.docxMenstruation is triggered by a- a- increase in the level(s) Estrogen b.docx
Menstruation is triggered by a- a- increase in the level(s) Estrogen b.docx
 
Mercury is located at 0-47AU with a albedo of 0-14- Given that the amo.docx
Mercury is located at 0-47AU with a albedo of 0-14- Given that the amo.docxMercury is located at 0-47AU with a albedo of 0-14- Given that the amo.docx
Mercury is located at 0-47AU with a albedo of 0-14- Given that the amo.docx
 
Membrane lipids are made in the where the enzyme ensure both leaflets.docx
Membrane lipids are made in the where the enzyme ensure both leaflets.docxMembrane lipids are made in the where the enzyme ensure both leaflets.docx
Membrane lipids are made in the where the enzyme ensure both leaflets.docx
 
mere birweyod found that 42- hai taben out a sudent ioan- (p1p2) (Riou.docx
mere birweyod found that 42- hai taben out a sudent ioan- (p1p2) (Riou.docxmere birweyod found that 42- hai taben out a sudent ioan- (p1p2) (Riou.docx
mere birweyod found that 42- hai taben out a sudent ioan- (p1p2) (Riou.docx
 
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.docx
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.docxMerge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.docx
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.docx
 
Mendel crossed pea plants with smooth- long pods (SSLL) with plants wi.docx
Mendel crossed pea plants with smooth- long pods (SSLL) with plants wi.docxMendel crossed pea plants with smooth- long pods (SSLL) with plants wi.docx
Mendel crossed pea plants with smooth- long pods (SSLL) with plants wi.docx
 
Mendel studied the structure traits of his plants- however humans disp.docx
Mendel studied the structure traits of his plants- however humans disp.docxMendel studied the structure traits of his plants- however humans disp.docx
Mendel studied the structure traits of his plants- however humans disp.docx
 
Mendel disproved the idea that- for autosomal traits- one parent contr.docx
Mendel disproved the idea that- for autosomal traits- one parent contr.docxMendel disproved the idea that- for autosomal traits- one parent contr.docx
Mendel disproved the idea that- for autosomal traits- one parent contr.docx
 
Melissa reports to a supportive manager who prowides a lot of career a.docx
Melissa reports to a supportive manager who prowides a lot of career a.docxMelissa reports to a supportive manager who prowides a lot of career a.docx
Melissa reports to a supportive manager who prowides a lot of career a.docx
 
Medical Diagnosis- Pathophysiology-document the physiologic causes and.docx
Medical Diagnosis- Pathophysiology-document the physiologic causes and.docxMedical Diagnosis- Pathophysiology-document the physiologic causes and.docx
Medical Diagnosis- Pathophysiology-document the physiologic causes and.docx
 
MCQ (Multiple Choice Questions) 1- Your company has decided to use one.docx
MCQ (Multiple Choice Questions) 1- Your company has decided to use one.docxMCQ (Multiple Choice Questions) 1- Your company has decided to use one.docx
MCQ (Multiple Choice Questions) 1- Your company has decided to use one.docx
 
Mateh the different responses to CSR with their definitions- Corporati.docx
Mateh the different responses to CSR with their definitions- Corporati.docxMateh the different responses to CSR with their definitions- Corporati.docx
Mateh the different responses to CSR with their definitions- Corporati.docx
 
Matehing Col Match the chemical on the left with its function on the r.docx
Matehing Col Match the chemical on the left with its function on the r.docxMatehing Col Match the chemical on the left with its function on the r.docx
Matehing Col Match the chemical on the left with its function on the r.docx
 
Match the term with the definition- 2 points each- Natural Capital Omn.docx
Match the term with the definition- 2 points each- Natural Capital Omn.docxMatch the term with the definition- 2 points each- Natural Capital Omn.docx
Match the term with the definition- 2 points each- Natural Capital Omn.docx
 
Match the terms for the vessels A- Capillary B- Artery c- Vein 1- Larg.docx
Match the terms for the vessels A- Capillary B- Artery c- Vein 1- Larg.docxMatch the terms for the vessels A- Capillary B- Artery c- Vein 1- Larg.docx
Match the terms for the vessels A- Capillary B- Artery c- Vein 1- Larg.docx
 
Match the following terms to the most appropriate descriptions- Choose.docx
Match the following terms to the most appropriate descriptions- Choose.docxMatch the following terms to the most appropriate descriptions- Choose.docx
Match the following terms to the most appropriate descriptions- Choose.docx
 
Match the fracture with the corresponding meaning- A fracture in which.docx
Match the fracture with the corresponding meaning- A fracture in which.docxMatch the fracture with the corresponding meaning- A fracture in which.docx
Match the fracture with the corresponding meaning- A fracture in which.docx
 

Recently uploaded

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 

Make sure you make this code for C++ (CLION) and also make sure you st.docx

  • 1. Make sure you make this code for C++ (CLION) and also make sure you start with this: #include <stdio.h> 16.2 Program 2 - Ditterent Category Employee Payment Application Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has its own pay code: Managers have paycode 1 , hourly workers have code 2 , commission workers have code 3 and pieceworkers have code 4. Use a switch to compute each employee's pay based on that employee's paycode. Within the switch, prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to calculate each employee's pay based on that employee's paycode.