SlideShare a Scribd company logo
1    //Super Supermarket Pay Calculator
2    //Programmer Justin Trimmer
3    // COP2000-5
4    //Everest University
5    //
6    //Variables
7    //EmployeeID (String)
8    //HourlyRate (Float)
9    //RegHours (Float)
10   //GrossPay (Float)
11   //Tax (Float)
12   //Parking (Float)
13   //OvertimeHours (Float)
14   //NetPay (Float)
15   //
16   //Formulae
17   //GrossPay=(RegHours*HourlyRate)+(OvertimeHours*(HourlyRate*1.5))
18   //NetPay=GrossPay-(GrossPay*Tax)-Parking
19   //
20   Main Module
21       Write “Super Supermarket Pay Calculator”
22       Write “”
23       Write “This Program will calculate the gross and net pay of a given employee.”
24       Declare EmployeeID as String
25       Declare HourlyRate as Float
26       Declare RegHours as Float
27       Declare GrossPay as Float
28       Declare Tax as Float
29       Declare Parking as Float
30       Declare OvertimeHours as Float
31       Declare Net Pay as Float
32       Set Tax=30/100
33       Set Parking=10
34       Call Input module
35       Call Calculations module
36       Call Output module
37   End Program

More Related Content

Viewers also liked

Alexndr hernandz’
Alexndr hernandz’Alexndr hernandz’
Alexndr hernandz’
Operatio7
 
Manifestazione 22 ottobre_2011_-_
Manifestazione 22 ottobre_2011_-_Manifestazione 22 ottobre_2011_-_
Manifestazione 22 ottobre_2011_-_
Wwf Verona
 
Comercio electronico
Comercio electronicoComercio electronico
Comercio electronico
ISABEL PUENTE
 
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
Cumbre Heroes
 
AAS National Conference 2008: Timothy S. Stryker
AAS National Conference 2008: Timothy S. StrykerAAS National Conference 2008: Timothy S. Stryker
AAS National Conference 2008: Timothy S. Stryker
American Astronautical Society
 
Motivation
MotivationMotivation
Oracle identity & access management online training
Oracle identity & access management online trainingOracle identity & access management online training
Oracle identity & access management online training
Glory IT Technologies Pvt. Ltd.
 

Viewers also liked (8)

Alexndr hernandz’
Alexndr hernandz’Alexndr hernandz’
Alexndr hernandz’
 
Manifestazione 22 ottobre_2011_-_
Manifestazione 22 ottobre_2011_-_Manifestazione 22 ottobre_2011_-_
Manifestazione 22 ottobre_2011_-_
 
Comercio electronico
Comercio electronicoComercio electronico
Comercio electronico
 
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
Arturo Soto - Budeo. Cumbre Heroes, Santiago 2015
 
Ppt98532
Ppt98532Ppt98532
Ppt98532
 
AAS National Conference 2008: Timothy S. Stryker
AAS National Conference 2008: Timothy S. StrykerAAS National Conference 2008: Timothy S. Stryker
AAS National Conference 2008: Timothy S. Stryker
 
Motivation
MotivationMotivation
Motivation
 
Oracle identity & access management online training
Oracle identity & access management online trainingOracle identity & access management online training
Oracle identity & access management online training
 

Similar to Justin trimmer cop2000 5-week 2_super supermarket pay calculator

Lecture#5 Operators in C++
Lecture#5 Operators in C++Lecture#5 Operators in C++
Lecture#5 Operators in C++
NUST Stuff
 
I need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdfI need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdf
pnaran46
 
Pro.docx
Pro.docxPro.docx
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docxInstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
normanibarber20063
 
Spl book salution
Spl book salutionSpl book salution
Spl book salution
ahonaislamonti
 
Final Case Study Churn (Autosaved)
Final Case Study Churn (Autosaved)Final Case Study Churn (Autosaved)
Final Case Study Churn (Autosaved)Marreddy P
 
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
CSCJournals
 
6 Function
6 Function6 Function
6 Function
Kwan Lee
 
SBM Orchestrations - Beginners Guide (FUG Presentation)
SBM Orchestrations - Beginners Guide (FUG Presentation)SBM Orchestrations - Beginners Guide (FUG Presentation)
SBM Orchestrations - Beginners Guide (FUG Presentation)
Serena Software
 
Learning SAS by Example -A Programmer’s Guide by Ron CodySolution
Learning SAS by Example -A Programmer’s Guide by Ron CodySolutionLearning SAS by Example -A Programmer’s Guide by Ron CodySolution
Learning SAS by Example -A Programmer’s Guide by Ron CodySolution
Vibeesh CS
 
Gas pump program final
Gas pump program finalGas pump program final
Gas pump program finalWendy Lile
 
Informatics Practice Practical for 12th class
Informatics Practice Practical for 12th classInformatics Practice Practical for 12th class
Informatics Practice Practical for 12th class
phultoosks876
 
4. programing 101
4. programing 1014. programing 101
4. programing 101
IEEE MIU SB
 
Mass2 Lean2 Six Sigma
Mass2 Lean2 Six SigmaMass2 Lean2 Six Sigma
Mass2 Lean2 Six Sigma
guestb2a38a
 
Easy practice with current timemillis method
Easy practice with current timemillis methodEasy practice with current timemillis method
Easy practice with current timemillis method
Nooria Esmaelzade
 
C++ project
C++ projectC++ project
C++ project
Sonu S S
 
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docxPROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
amrit47
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
Mohammed Saleh
 
12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx
AqeelAbbas94
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1rampan
 

Similar to Justin trimmer cop2000 5-week 2_super supermarket pay calculator (20)

Lecture#5 Operators in C++
Lecture#5 Operators in C++Lecture#5 Operators in C++
Lecture#5 Operators in C++
 
I need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdfI need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdf
 
Pro.docx
Pro.docxPro.docx
Pro.docx
 
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docxInstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
 
Spl book salution
Spl book salutionSpl book salution
Spl book salution
 
Final Case Study Churn (Autosaved)
Final Case Study Churn (Autosaved)Final Case Study Churn (Autosaved)
Final Case Study Churn (Autosaved)
 
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
A Novel Approach To The Weight and Balance Calculation for The De Haviland Ca...
 
6 Function
6 Function6 Function
6 Function
 
SBM Orchestrations - Beginners Guide (FUG Presentation)
SBM Orchestrations - Beginners Guide (FUG Presentation)SBM Orchestrations - Beginners Guide (FUG Presentation)
SBM Orchestrations - Beginners Guide (FUG Presentation)
 
Learning SAS by Example -A Programmer’s Guide by Ron CodySolution
Learning SAS by Example -A Programmer’s Guide by Ron CodySolutionLearning SAS by Example -A Programmer’s Guide by Ron CodySolution
Learning SAS by Example -A Programmer’s Guide by Ron CodySolution
 
Gas pump program final
Gas pump program finalGas pump program final
Gas pump program final
 
Informatics Practice Practical for 12th class
Informatics Practice Practical for 12th classInformatics Practice Practical for 12th class
Informatics Practice Practical for 12th class
 
4. programing 101
4. programing 1014. programing 101
4. programing 101
 
Mass2 Lean2 Six Sigma
Mass2 Lean2 Six SigmaMass2 Lean2 Six Sigma
Mass2 Lean2 Six Sigma
 
Easy practice with current timemillis method
Easy practice with current timemillis methodEasy practice with current timemillis method
Easy practice with current timemillis method
 
C++ project
C++ projectC++ project
C++ project
 
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docxPROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx
 
Practice Exercise Set 1
Practice Exercise Set 1Practice Exercise Set 1
Practice Exercise Set 1
 

Recently uploaded

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 

Recently uploaded (20)

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 

Justin trimmer cop2000 5-week 2_super supermarket pay calculator

  • 1. 1 //Super Supermarket Pay Calculator 2 //Programmer Justin Trimmer 3 // COP2000-5 4 //Everest University 5 // 6 //Variables 7 //EmployeeID (String) 8 //HourlyRate (Float) 9 //RegHours (Float) 10 //GrossPay (Float) 11 //Tax (Float) 12 //Parking (Float) 13 //OvertimeHours (Float) 14 //NetPay (Float) 15 // 16 //Formulae 17 //GrossPay=(RegHours*HourlyRate)+(OvertimeHours*(HourlyRate*1.5)) 18 //NetPay=GrossPay-(GrossPay*Tax)-Parking 19 // 20 Main Module 21 Write “Super Supermarket Pay Calculator” 22 Write “” 23 Write “This Program will calculate the gross and net pay of a given employee.” 24 Declare EmployeeID as String 25 Declare HourlyRate as Float 26 Declare RegHours as Float 27 Declare GrossPay as Float 28 Declare Tax as Float 29 Declare Parking as Float 30 Declare OvertimeHours as Float 31 Declare Net Pay as Float 32 Set Tax=30/100 33 Set Parking=10 34 Call Input module 35 Call Calculations module 36 Call Output module 37 End Program