Write a statement to create a procedure that accepts an Employee ID as input. Two conditions should be added: firstly test if the first Employee ID entered in Question 2 matches the value inputted, and their salary is incremented with a 500 bonus, and the bonus is printed; Secondly test in the second Employee ID entered in̂ Question 3 matches the value inputted, and their salary in incremented with 1000 bonus, and the bonus is printed. Invoke the procedure to test the procedure.
Write a statement to create a procedure that accepts an Employee ID as input. Two conditions should be added: firstly test if the first Employee ID entered in Question 2 matches the value inputted, and their salary is incremented with a 500 bonus, and the bonus is printed; Secondly test in the second Employee ID entered in̂ Question 3 matches the value inputted, and their salary in incremented with 1000 bonus, and the bonus is printed. Invoke the procedure to test the procedure.
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 20RA
Related questions
Question
Write a statement to create a procedure that accepts an Employee ID as input. Two conditions should be added: firstly test if the first Employee ID entered in Question 2 matches the value inputted, and their salary is incremented with a 500 bonus, and the bonus is printed; Secondly test in the second Employee ID entered in̂ Question 3 matches the value inputted, and their salary in incremented with 1000 bonus, and the bonus is printed. Invoke the procedure to test the procedure.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning