Question: VISUAL BASIC Write a pay rise program that takes in a persons first name, last name and current annual salary. Once the user clicks on
VISUAL BASIC
Write a pay rise program that takes in a persons first name, last name and current annual salary. Once the user clicks on the button Process, the program should display the new salary for next year. People earning less than $40,000 will receive a 5% raise; people earning $40,000 or more will receive a raise of $2,000, plus an additional 2% on the difference between the current salary and $40,000. The final output should be displayed in the text-box, formatted as currency with 2 decimals.Your program should check that the user is entering a proper name and last name. You do not need to check that the user is entering a proper salary.Once the output is displayed, the user clicks on the button Next. Upon clicking, an InputBox should appear, asking the user whether would like to continue, Y/N?If the user enters Y, all the text-boxes should becleared. Ifthe user enters N, all the text-boxes should be cleared and the program should automatically close.Your program should work either if the user entersY or N (upper-case) or enters y or n (lower-case). You can assume the user will enter one of the two.Your program should be coded using Functions and Subs. Specifically, it should contain:
-A Function to compute the new salary
-A Function to check that the first name and last name entered by the user contain only letters. If the user enters something other than a letter or leaves the input blank, a message should be displayed to the user and the program should not continue.
-A Sub to display warning messages-A Sub that clears all the text-boxes, when called.You need to understand whether any parameter in any Function/Sub should be byRef and, if yes, which one(s).
NOTE: The list above includes the minimum number of Functions and/or Subs your program must have, for you to earn full points.Your program can have as many Event Procedures as necessary. And you are free to add additionalFunctions/Subs than the ones listed above, if you think there are other parts of the program that could be coded with Functions or Subs.

Pay Rise U First Name Jane Last Name Doe Current Salary 50000 Process Next $52,200.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
